UNPKG

@rtdui/editor

Version:

React rich text editor based on tiptap

12 lines (11 loc) 594 B
export interface ControlBaseProps extends React.ComponentPropsWithoutRef<"button"> { /** Icon component, should support size prop */ icon?: React.FC<{ size: number | string; }>; /** Determines whether the control should have active state, false by default */ active?: boolean; /** Determines whether the control can be interacted with, set false to make the control to act as a label */ interactive?: boolean; } export declare const ControlBase: import("react").ForwardRefExoticComponent<ControlBaseProps & import("react").RefAttributes<HTMLButtonElement>>;