We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f7680ea + 3206870 commit e5fb745Copy full SHA for e5fb745
1 file changed
src/components/widgets/EditableLabel.js
@@ -31,7 +31,7 @@ class EditableLabel extends React.Component {
31
32
getClassName = () => {
33
const placeholder = this.state.text === '' ? 'comPlainTextContentEditable--has-placeholder' : ''
34
- return `comPlainTextContentEditable ${placeholder} ${this.props.className}`
+ return `comPlainTextContentEditable ${placeholder}`
35
}
36
37
render() {
@@ -52,13 +52,11 @@ class EditableLabel extends React.Component {
52
EditableLabel.defaultProps = {
53
onChange: () => {},
54
placeholder: '',
55
- className: '',
56
autoFocus: false
57
58
EditableLabel.propTypes = {
59
onChange: PropTypes.func,
60
placeholder: PropTypes.string,
61
- className: PropTypes.string,
62
autoFocus: PropTypes.bool
63
64
0 commit comments