UNPKG

goobs-frontend

Version:

A comprehensive React-based libary for building modern web applications

26 lines 1.01 kB
import { default as React } from 'react'; import { ComplexTextEditorStyles } from '../../../../theme/'; export type TextType = 'paragraph' | 'h1' | 'h2' | 'h3'; export type AlignmentFormat = 'left' | 'center' | 'right' | 'justify'; interface ToolbarMarkdownProps { editor?: any; handleBoldClick?: () => void; handleItalicClick?: () => void; handleUnderlineClick?: () => void; handleStrikethroughClick?: () => void; handleCodeClick?: () => void; handleLinkClick?: () => void; handleUndo?: () => void; handleRedo?: () => void; handleAlign?: (align: string) => void; handleTextType?: (type: string) => void; handleBulletedList?: () => void; handleNumberedList?: () => void; markdownMode: boolean; setMarkdown: (value: string) => void; toolbarType?: 'markdown' | 'richtext' | 'rich'; styles?: ComplexTextEditorStyles; } declare const ToolbarMarkdown: React.FC<ToolbarMarkdownProps>; export default ToolbarMarkdown; //# sourceMappingURL=index.d.ts.map