slate-react

Search for an npm package
/// <reference types="react" />
import { Text, Element } from 'slate';
/**
* Leaf content strings.
*/
declare const String: (props: {
isLast: boolean;
leaf: Text;
parent: Element;
text: Text;
}) => JSX.Element;
/**
* Leaf strings without text, render as zero-width strings.
*/
export declare const ZeroWidthString: (props: {
length?: number;
isLineBreak?: boolean;
isMarkPlaceholder?: boolean;
}) => JSX.Element;
export default String;
//# sourceMappingURL=string.d.ts.map
No newline at end of file