Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/components/FileItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ export default function FileItem({ manager, file }: Props) {
background: "#32CD32",
};
return (
<button style={style} onClick={() => manager.exportFile(file)}>
<button
style={style}
onClick={() => manager.exportFile(file)}
aria-label="Share"
>
<MageDownload style={{ fontSize: "2em" }} />
</button>
);
Expand All @@ -77,6 +81,7 @@ export default function FileItem({ manager, file }: Props) {
<button
style={{ ...btnStyle, background: "#da342f" }}
onClick={() => manager.deleteFile(file.id)}
aria-label="Delete"
>
<MageTrash2Fill style={{ fontSize: "2em" }} />
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/FilePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function FilePicker({ manager }: Props) {

//console.log("FILE PICKER RERENDERED");
return (
<button onClick={onClick} style={pickerStyle}>
<button onClick={onClick} style={pickerStyle} aria-label="Add files">
<MagePlus style={{ verticalAlign: "middle" }} />
<input
type="file"
Expand Down