1 | import React from 'react';
|
2 | import { JSX } from 'react';
|
3 | import { Element, Text } from 'slate';
|
4 | import { RenderLeafProps, RenderPlaceholderProps } from './editable';
|
5 | declare const MemoizedLeaf: React.MemoExoticComponent<(props: {
|
6 | isLast: boolean;
|
7 | leaf: Text;
|
8 | parent: Element;
|
9 | renderPlaceholder: (props: RenderPlaceholderProps) => JSX.Element;
|
10 | renderLeaf?: ((props: RenderLeafProps) => JSX.Element) | undefined;
|
11 | text: Text;
|
12 | }) => JSX.Element>;
|
13 | export declare const DefaultLeaf: (props: RenderLeafProps) => JSX.Element;
|
14 | export default MemoizedLeaf;
|
15 |
|
\ | No newline at end of file |