Files
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

14 lines
588 B
TypeScript

import React from 'react';
import { Element, Text } from 'slate';
import { RenderLeafProps, RenderPlaceholderProps } from './editable';
declare const MemoizedLeaf: React.MemoExoticComponent<(props: {
isLast: boolean;
leaf: Text;
parent: Element;
renderPlaceholder: (props: RenderPlaceholderProps) => JSX.Element;
renderLeaf?: ((props: RenderLeafProps) => JSX.Element) | undefined;
text: Text;
}) => JSX.Element>;
export declare const DefaultLeaf: (props: RenderLeafProps) => JSX.Element;
export default MemoizedLeaf;
//# sourceMappingURL=leaf.d.ts.map