Use consistent data attributes
data-toolbox should be data-react-toolbox to be consistent with the rest of the components.old
parent
47215ac84b
commit
c0e0b5679c
|
@ -39,7 +39,7 @@ class DatePicker extends React.Component {
|
||||||
const date = value ? `${value.getDate()} ${time.getFullMonth(value)} ${value.getFullYear()}` : null;
|
const date = value ? `${value.getDate()} ${time.getFullMonth(value)} ${value.getFullYear()}` : null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div data-toolbox='date-picker'>
|
<div data-react-toolbox='date-picker'>
|
||||||
<Input
|
<Input
|
||||||
className={style.input}
|
className={style.input}
|
||||||
error={this.props.error}
|
error={this.props.error}
|
||||||
|
|
Loading…
Reference in New Issue