UNPKG

react-quilljs

Version:

React Hook Wrapper for Quill, powerful rich text editor

15 lines (14 loc) 504 B
import { RefObject } from 'react'; import Quill, { QuillOptions } from 'quill'; /** * * @param options Quill static options. https://github.com/gtgalone/react-quilljs#options * @returns Returns quill, quillRef, and Quill. https://github.com/gtgalone/react-quilljs#return */ export declare const useQuill: (options?: QuillOptions | undefined) => { Quill: any | undefined; quillRef: RefObject<any>; quill: Quill | undefined; editorRef: RefObject<any>; editor: Quill | undefined; };