UNPKG

511 BTypeScriptView Raw
1import React from 'react';
2import { Text, Element } from 'slate';
3/**
4 * Leaf content strings.
5 */
6declare const String: (props: {
7 isLast: boolean;
8 leaf: Text;
9 parent: Element;
10 text: Text;
11}) => React.JSX.Element;
12/**
13 * Leaf strings without text, render as zero-width strings.
14 */
15export declare const ZeroWidthString: (props: {
16 length?: number;
17 isLineBreak?: boolean;
18 isMarkPlaceholder?: boolean;
19}) => React.JSX.Element;
20export default String;
21//# sourceMappingURL=string.d.ts.map
\No newline at end of file