react-quilljs
Advanced tools
Comparing version 1.2.14 to 1.2.15
import { RefObject } from 'react'; | ||
import Quill, { QuillOptionsStatic } 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?: QuillOptionsStatic | undefined) => { | ||
@@ -4,0 +9,0 @@ Quill: any; |
@@ -41,2 +41,7 @@ import { useRef, useState, useEffect } from 'react'; | ||
} | ||
/** | ||
* | ||
* @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 var useQuill = function (options) { | ||
@@ -43,0 +48,0 @@ if (options === void 0) { options = { theme: theme, modules: modules, formats: formats }; } |
import { RefObject } from 'react'; | ||
import Quill, { QuillOptionsStatic } 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?: QuillOptionsStatic | undefined) => { | ||
@@ -4,0 +9,0 @@ Quill: any; |
@@ -43,2 +43,7 @@ "use strict"; | ||
} | ||
/** | ||
* | ||
* @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 | ||
*/ | ||
exports.useQuill = function (options) { | ||
@@ -45,0 +50,0 @@ if (options === void 0) { options = { theme: theme, modules: modules, formats: formats }; } |
{ | ||
"name": "react-quilljs", | ||
"version": "1.2.14", | ||
"version": "1.2.15", | ||
"description": "React Hook Wrapper for Quill, powerful rich text editor", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
16491
176