UNPKG

react-native-cn-quill

Version:
21 lines (20 loc) 605 B
import type { CustomFont } from 'src/types'; export declare const getFontName: (font: string) => string; interface CreateHtmlArgs { initialHtml?: string; placeholder: string; toolbar: string; libraries: 'local' | 'cdn'; theme: 'snow' | 'bubble'; editorId: string; containerId: string; color: string; backgroundColor: string; placeholderColor: string; customStyles: string[]; fonts: Array<CustomFont>; defaultFontFamily?: string; customJS?: string; } export declare const createHtml: (args?: CreateHtmlArgs) => string; export {};