1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 05:16:41 +07:00

file uploading at comments (not working yet)

This commit is contained in:
Fedor Katurov 2019-10-09 18:04:44 +07:00
parent afbec84f7c
commit 287b3efed2
4 changed files with 94 additions and 45 deletions

View file

@ -11,9 +11,7 @@ interface IProps {
is_uploading?: boolean;
}
const ImageUpload: FC<IProps> = ({
thumb, id, progress, is_uploading,
}) => (
const ImageUpload: FC<IProps> = ({ thumb, progress, is_uploading }) => (
<div className={styles.wrap}>
<div className={classNames(styles.thumb_wrap, { is_uploading })}>
{thumb && <div className={styles.thumb} style={{ backgroundImage: `url("${thumb}")` }} />}