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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user