1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-03 08:36:41 +07:00

working upload saga?

This commit is contained in:
muerwre 2019-08-07 15:37:57 +07:00
parent 3872ff5903
commit d73437d8c6
8 changed files with 153 additions and 42 deletions
src/components/editors/EditorPanel

View file

@ -1,13 +1,13 @@
import React, { FC } from 'react';
import * as styles from './styles.scss';
import { INode } from '~/redux/types';
import { INode, IFileWithUUID } from '~/redux/types';
interface IProps {
data: INode;
setData: (val: INode) => void;
onUpload: (val: File[]) => void;
onUpload: (val: IFileWithUUID[]) => void;
}
const EditorPanel: FC<IProps> = ({}) => <div className={styles.panel} />;
const EditorPanel: FC<IProps> = () => <div className={styles.panel} />;
export { EditorPanel };