This commit is contained in:
2020-08-22 12:23:03 +02:00
parent 54e80707b2
commit 79d89f266a

View File

@@ -39,12 +39,10 @@ const share = async (file: FileType, fileData: File[]) => {
} }
const IconText = ({ icon, text, ...props }) => ( const IconText = ({ icon, text, ...props }) => (
<Tooltip title={text}>
<Button <Button
{...props} {...props}
icon={React.createElement(icon)} icon={React.createElement(icon)}
/> />
</Tooltip>
); );
const FileView: React.FC<Props> = ({ const FileView: React.FC<Props> = ({