This commit is contained in:
AllenFang
2018-03-04 16:05:10 +08:00
parent 931cf80450
commit 4d9e20e9c8
+3 -2
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;