1
0
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:
Ian Storm Taylor
2017-02-25 13:58:37 -08:00
parent 9f5a0c153c
commit dfe403e96b

View File

@@ -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,