react-simple-wysiwyg
Version:
Simple and lightweight React WYSIWYG editor
17 lines (16 loc) • 748 B
TypeScript
import { CSSProperties, HTMLAttributes } from 'react';
import { IEditorContext } from '../Editor';
export declare const BtnBold: typeof Button;
export declare const BtnClearFormatting: typeof Button;
export declare const BtnItalic: typeof Button;
export declare const BtnLink: typeof Button;
export declare const BtnNumberedList: typeof Button;
export declare const BtnRedo: typeof Button;
export declare const BtnUnderline: typeof Button;
export declare const BtnUndo: typeof Button;
export declare const BtnBulletList: typeof Button;
export declare function Button(props: IButtonProps): JSX.Element;
export interface IButtonProps extends HTMLAttributes<HTMLButtonElement>, IEditorContext {
active?: boolean;
hoverStyle?: CSSProperties;
}