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:
parent
afbec84f7c
commit
287b3efed2
4 changed files with 94 additions and 45 deletions
|
@ -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}")` }} />}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue