This commit is contained in:
AllenFang 2018-02-24 23:03:09 +08:00
parent 931cf80450
commit 4d9e20e9c8

View File

@ -32,9 +32,10 @@ TextEditor.propTypes = {
defaultValue: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
]).isRequired
])
};
TextEditor.defaultProps = {
className: null
className: null,
defaultValue: ''
};
export default TextEditor;