UNPKG

@explita/editor

Version:

`@explita/editor` is a versatile, modern rich-text editor built on TipTap for seamless integration into React applications. It provides extensive customization options and advanced features to cater to diverse content creation needs.

17 lines (16 loc) 512 B
type ToolbarProps = { onCreateNew?: () => void; onSave?: (content: string) => void; onClose?: () => void; toolbarRight?: React.ReactNode | string | null | undefined; isMini?: boolean; }; export declare function Toolbar({ onCreateNew, onSave, onClose, toolbarRight, isMini, }: ToolbarProps): import("react/jsx-runtime").JSX.Element; export declare namespace Toolbar { var defaultProps: { onSave: () => void; toolbarRight: null; isMini: boolean; }; } export {};