Files
pole-book/server/node_modules/slate-react/dist/components/string.d.ts

21 lines
504 B
TypeScript

/// <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