UNPKG

react-simple-wysiwyg

Version:
11 lines (10 loc) 446 B
import { HTMLAttributes } from 'react'; import { IEditorContext } from '../Editor'; export declare const BtnStyles: typeof Dropdown; export declare function Dropdown(props: IDropdownProps): JSX.Element; export interface IDropdownProps extends HTMLAttributes<HTMLSelectElement>, IEditorContext { selected?: number; items?: IDropDownItem[]; } declare type IDropDownItem = [string, string | ((selection: Node) => void), string?]; export {};