import * as React from 'react'; import { ReactNode } from 'react'; /** * A toolbar for the . * @param props The toolbar props. * @param {ReactNode} props.children The toolbar children, usually many . * @param {'small' | 'medium' | 'large'} props.size The default size to apply to the **default** children. * * @example Customizing the size * import { RichTextInput, RichTextInputToolbar } from 'ra-input-rich-text'; * const MyRichTextInput = (props) => ( * } * label="Body" * source="body" * {...props} * /> * ); * * @example Customizing the children * import { RichTextInput, RichTextInputToolbar } from 'ra-input-rich-text'; * const MyRichTextInput = ({ size, ...props }) => ( * * * * * * * * * * * )} * label="Body" * source="body" * {...props} * /> * ); */ export declare const RichTextInputToolbar: (props: RichTextInputToolbarProps) => React.JSX.Element; export type RichTextInputToolbarProps = { children?: ReactNode; size?: 'small' | 'medium' | 'large'; }; //# sourceMappingURL=RichTextInputToolbar.d.ts.map