1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

multiple image uploads

This commit is contained in:
muerwre 2019-08-08 18:44:33 +07:00
parent ec964ceea4
commit 3767f8af86

View file

@ -10,7 +10,8 @@ const ImageUploadButton: FC<IProps> = ({
onUpload, onUpload,
}) => ( }) => (
<div className={styles.wrap}> <div className={styles.wrap}>
<input type="file" onChange={onUpload} /> <input type="file" onChange={onUpload} accept="image/*" multiple />
<div className={styles.icon}> <div className={styles.icon}>
<Icon size={32} icon="plus" /> <Icon size={32} icon="plus" />
</div> </div>