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

audio upload buttin

This commit is contained in:
Fedor Katurov 2019-10-21 13:42:00 +07:00
parent d676ff88e4
commit 5e9b6e1819
10 changed files with 89 additions and 6 deletions

View file

@ -1,6 +1,7 @@
import React, { FC } from 'react';
import { EditorUploadButton } from '~/components/editors/EditorUploadButton';
import { INode } from '~/redux/types';
import { UPLOAD_TYPES } from '~/redux/uploads/constants';
interface IProps {
data: INode;
@ -17,6 +18,7 @@ const EditorImageUploadButton: FC<IProps> = ({ data, setData, temp, setTemp }) =
setTemp={setTemp}
accept="image/*"
icon="image"
type={UPLOAD_TYPES.IMAGE}
/>
);