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

drop cell

This commit is contained in:
muerwre 2019-08-08 18:19:07 +07:00
parent 5bf67309c3
commit 84f73c9cf3
4 changed files with 52 additions and 5 deletions

View file

@ -0,0 +1,16 @@
import React, { FC, ChangeEventHandler } from 'react';
import * as styles from './styles.scss';
interface IProps {
onUpload?: ChangeEventHandler<HTMLInputElement>;
};
const ImageUploadButton: FC<IProps> = ({
onUpload,
}) => (
<div className={styles.wrap}>
<input type="file" onChange={onUpload} />
</div>
)
export { ImageUploadButton };