UNPKG
fantasy-editor
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
A React Rich Text Editor Based On Slate
fantasy-editor.jieee.dev
lingjieee/fantasy-editor
fantasy-editor
/
lib
/
utils
/
render-leaf-plugins.d.ts
5 lines
(4 loc)
•
272 B
TypeScript
View Raw
1
2
3
4
5
/// <reference types="react" />
import
{
RenderLeafProps
}
from
'slate-react'
;
import
{
RenderLeaf
,
SlatePlugin
}
from
'..'
;
export
declare
const
renderLeafPlugins
:
(
plugins
:
SlatePlugin
[],
renderLeafList
:
RenderLeaf
[]
) =>
(
leafProps
:
RenderLeafProps
) =>
JSX
.
Element
;