@types/slate-react
Advanced tools
Comparing version 0.22.1 to 0.22.2
@@ -114,2 +114,5 @@ // Type definitions for slate-react 0.22 | ||
export type PluginOrPlugins = Plugin | Plugins; | ||
export interface Plugins extends Array<PluginOrPlugins> {} | ||
export interface BasicEditorProps { | ||
@@ -120,5 +123,5 @@ value: Value; | ||
className?: string; | ||
onChange?: (change: { operations: Immutable.List<Operation>, value: Value }) => any; | ||
onChange?: (change: { operations: Immutable.List<Operation>; value: Value }) => any; | ||
placeholder?: any; | ||
plugins?: Plugin[]; | ||
plugins?: Plugins; | ||
readOnly?: boolean; | ||
@@ -125,0 +128,0 @@ role?: string; |
{ | ||
"name": "@types/slate-react", | ||
"version": "0.22.1", | ||
"version": "0.22.2", | ||
"description": "TypeScript definitions for slate-react", | ||
@@ -71,4 +71,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "8f525260732b11f825ff2fb06b0b0b28f97d84d057386dab69b1243e64aa07bd", | ||
"typesPublisherContentHash": "1ed6a428b68843e4f1d5df01d0b1e3994409fbab6a914bdbeb89476f23d85703", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for slate-react ( https://github.com/ianstormtaylor/slate ). | ||
This package contains type definitions for slate-react (https://github.com/ianstormtaylor/slate). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Mon, 10 Jun 2019 19:43:40 GMT | ||
* Last updated: Thu, 27 Jun 2019 18:09:22 GMT | ||
* Dependencies: @types/slate, @types/immutable, @types/react | ||
@@ -18,2 +18,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Andy Kent <https://github.com/andykent>, Jamie Talbot <https://github.com/majelbstoat>, Jan Löbel <https://github.com/JanLoebel>, Patrick Sachs <https://github.com/PatrickSachs>, Brandon Shelton <https://github.com/YangusKhan>, Irwan Fario Subastian <https://github.com/isubasti>, Hanna Greaves <https://github.com/sgreav>, Francesco Agnoletto <https://github.com/Kornil>, Jack Allen <https://github.com/jackall3n>, Benjamin Evenson <https://github.com/benjiro>. | ||
These definitions were written by Andy Kent <https://github.com/andykent>, Jamie Talbot <https://github.com/majelbstoat>, Jan Löbel <https://github.com/JanLoebel>, Patrick Sachs <https://github.com/PatrickSachs>, Brandon Shelton <https://github.com/YangusKhan>, Irwan Fario Subastian <https://github.com/isubasti>, Hanna Greaves <https://github.com/sgreav>, Francesco Agnoletto <https://github.com/Kornil>, Jack Allen <https://github.com/jackall3n>, and Benjamin Evenson <https://github.com/benjiro>. |
23470
382