UNPKG

react-simple-wysiwyg

Version:
55 lines (54 loc) 1.31 kB
import { CSSProperties } from 'react'; declare const styles: { button: { normal: { backgroundColor: string; border: string; color: string; height: number; outline: string; padding: number; verticalAlign: string; width: number; }; hovered: { backgroundColor: string; }; active: { backgroundColor: string; }; }; contentEditable: { flex: number; outline: string; padding: number; }; dropdown: { boxSizing: any; height: number; marginTop: number; outline: string; verticalAlign: string; }; editor: { border: string; borderRadius: number; display: string; flexDirection: any; minHeight: number; }; separator: { backgroundColor: string; display: string; height: number; margin: number; verticalAlign: string; width: number; }; }; export default styles; declare type CssCollection<T> = { [P in keyof T]?: CSSProperties | CssCollection<T[P]>; }; export declare type IStyles = typeof styles; export declare type IEditorStyles = CssCollection<IStyles>;