mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
started editor
This commit is contained in:
parent
203791b170
commit
ee17b72a7f
4 changed files with 49 additions and 13 deletions
15
src/components/editors/ImageEditor/index.tsx
Normal file
15
src/components/editors/ImageEditor/index.tsx
Normal file
|
@ -0,0 +1,15 @@
|
|||
import React, { FC } from 'react';
|
||||
import { INode } from '~/redux/types';
|
||||
import * as styles from './styles.scss';
|
||||
|
||||
interface IProps {
|
||||
data: INode,
|
||||
setData: (val: INode) => void;
|
||||
};
|
||||
|
||||
const ImageEditor: FC<IProps> = ({
|
||||
}) => (
|
||||
<div className={styles.uploads} />
|
||||
)
|
||||
|
||||
export { ImageEditor };
|
3
src/components/editors/ImageEditor/styles.scss
Normal file
3
src/components/editors/ImageEditor/styles.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
.uploads {
|
||||
min-height: 200px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue