mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
multiple image uploads
This commit is contained in:
parent
ec964ceea4
commit
3767f8af86
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ const ImageUploadButton: FC<IProps> = ({
|
|||
onUpload,
|
||||
}) => (
|
||||
<div className={styles.wrap}>
|
||||
<input type="file" onChange={onUpload} />
|
||||
<input type="file" onChange={onUpload} accept="image/*" multiple />
|
||||
|
||||
<div className={styles.icon}>
|
||||
<Icon size={32} icon="plus" />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue