mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 19:01:54 +02:00
fix content proptype
This commit is contained in:
@@ -36,7 +36,7 @@ class Content extends React.Component {
|
|||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
autoCorrect: React.PropTypes.bool.isRequired,
|
autoCorrect: React.PropTypes.bool.isRequired,
|
||||||
children: React.PropTypes.object.isRequired,
|
children: React.PropTypes.array.isRequired,
|
||||||
className: React.PropTypes.string,
|
className: React.PropTypes.string,
|
||||||
editor: React.PropTypes.object.isRequired,
|
editor: React.PropTypes.object.isRequired,
|
||||||
onBeforeInput: React.PropTypes.func.isRequired,
|
onBeforeInput: React.PropTypes.func.isRequired,
|
||||||
|
Reference in New Issue
Block a user