@wii/slate
v0.1.35
Published
An richtext editor base slate
Downloads
4
Keywords
Readme
@wii/slate
Introduce
An richtext editor base on slate,the media toolbar is private tourism material.
Usage
import WiiSlate, { IEditor } from '@wii/slate' import { useRef } from 'react';
export default () => {
const editorRef = useRef<IEditor>();
return (
<WiiSlate editorRef={editorRef} />
)
}