1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-11 01:33:58 +02:00

Clean up imports (#4319)

This commit is contained in:
Thomas
2021-08-05 06:56:45 +02:00
committed by GitHub
parent 5169cf5ddb
commit 531707e746

View File

@@ -7,12 +7,12 @@ import {
createEditor, createEditor,
Element, Element,
Descendant, Descendant,
Range,
} from 'slate' } from 'slate'
import { css } from 'emotion' import { css } from 'emotion'
import { withHistory } from 'slate-history' import { withHistory } from 'slate-history'
import { Button, Icon, Menu, Portal } from '../components' import { Button, Icon, Menu, Portal } from '../components'
import { Range } from 'slate'
const HoveringMenuExample = () => { const HoveringMenuExample = () => {
const [value, setValue] = useState<Descendant[]>(initialValue) const [value, setValue] = useState<Descendant[]>(initialValue)