react-quilljs
Advanced tools
Comparing version 1.2.2 to 1.2.3
import { RefObject } from 'react'; | ||
import Quill, { QuillOptionsStatic } from 'quill'; | ||
import Quill from 'quill'; | ||
export interface StringMap { | ||
[key: string]: any; | ||
} | ||
export interface QuillOptionsStatic { | ||
debug?: string | boolean; | ||
modules?: StringMap; | ||
placeholder?: string; | ||
readOnly?: boolean; | ||
theme?: string; | ||
formats?: string[]; | ||
bounds?: HTMLElement | string; | ||
scrollingContainer?: HTMLElement | string; | ||
strict?: boolean; | ||
} | ||
export declare const useQuill: (options?: QuillOptionsStatic | undefined) => { | ||
@@ -4,0 +18,0 @@ Quill: any; |
import { RefObject } from 'react'; | ||
import Quill, { QuillOptionsStatic } from 'quill'; | ||
import Quill from 'quill'; | ||
export interface StringMap { | ||
[key: string]: any; | ||
} | ||
export interface QuillOptionsStatic { | ||
debug?: string | boolean; | ||
modules?: StringMap; | ||
placeholder?: string; | ||
readOnly?: boolean; | ||
theme?: string; | ||
formats?: string[]; | ||
bounds?: HTMLElement | string; | ||
scrollingContainer?: HTMLElement | string; | ||
strict?: boolean; | ||
} | ||
export declare const useQuill: (options?: QuillOptionsStatic | undefined) => { | ||
@@ -4,0 +18,0 @@ Quill: any; |
{ | ||
"name": "react-quilljs", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "React Hook Wrapper for Quill, powerful rich text editor", | ||
@@ -37,2 +37,3 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@types/quill": "2.0.3", | ||
"quill": "^1.3.7", | ||
@@ -42,4 +43,4 @@ "react": "^16.12.0" | ||
"devDependencies": { | ||
"@types/quill": "2.0.3", | ||
"@types/node": "12.12.18", | ||
"@types/quill": "2.0.3", | ||
"@types/react": "16.9.16", | ||
@@ -46,0 +47,0 @@ "tslint": "5.20.1", |
13235
148
3