This commit is contained in:
AllenFang 2018-02-24 23:03:09 +08:00
parent a8083ac17d
commit 5dd1f1e9ea

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;