Skip to content
Prev Previous commit
Next Next commit
fix #221
  • Loading branch information
AllenFang committed Mar 4, 2018
commit 4d9e20e9c8feed135753394efbabbdd19992d033
5 changes: 3 additions & 2 deletions packages/react-bootstrap-table2-editor/src/text-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ TextEditor.propTypes = {
defaultValue: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
]).isRequired
])
};
TextEditor.defaultProps = {
className: null
className: null,
defaultValue: ''
};
export default TextEditor;