Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<div style="{{">{this.props.errorMessage}</div>
<div>
{this.renderChildren()}
</div>
<div style="{{">
{this.renderAddButton()}
</div>
);
}
}
MaterialArray.propTypes = propTypes;
MaterialArray.defaultProps = defaultProps;
Form.defaultProps.arrayComponent = MaterialArray;
//ArrayComponent = MaterialArray;
};
export default class MaterialObject extends ObjectComponent {
render() {
return (
<div style="{styles.label}">{this.getLabel()}</div>
<div style="{{">{this.props.errorMessage}</div>
{this.renderChildren(this.props.children)}
);
}
}
//MRF.Object = MaterialObject;
Form.defaultProps.objectComponent = MaterialObject;
//ObjectComponent = MaterialObject;