diff --git a/src/StreamField.js b/src/StreamField.js index 68eaed7..b286074 100644 --- a/src/StreamField.js +++ b/src/StreamField.js @@ -21,6 +21,7 @@ function lazyFunction(f) { const BlockDefinitionType = PropTypes.shape({ key: PropTypes.string.isRequired, label: PropTypes.string, + labelClass: PropTypes.string, required: PropTypes.bool, default: PropTypes.any, icon: PropTypes.string, @@ -29,6 +30,7 @@ const BlockDefinitionType = PropTypes.shape({ minNum: PropTypes.number, maxNum: PropTypes.number, closed: PropTypes.bool, + closedOnAdd: PropTypes.bool, titleTemplate: PropTypes.string, html: PropTypes.string, isStruct: PropTypes.bool, diff --git a/src/StructChildField.js b/src/StructChildField.js index baa1cd8..abddd00 100644 --- a/src/StructChildField.js +++ b/src/StructChildField.js @@ -31,8 +31,8 @@ class StructChildField extends React.Component { const {fieldId, blockId, blockDefinition} = this.props; return (