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:
parent
3872ff5903
commit
d73437d8c6
8 changed files with 153 additions and 42 deletions
src/components/editors/EditorPanel
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue