| 6 | import { register } from '../higherOrders/FormItem'; |
| 7 | |
| 8 | class Datepicker extends React.Component { |
| 9 | constructor (props) { |
| 10 | super(props); |
| 11 | } |
| 12 | |
| 13 | shouldComponentUpdate (nextProps) { |
| 14 | return !shallowEqual(this.props, nextProps); |
| 15 | } |
| 16 | |
| 17 | render () { |
| 18 | return ( |
| 19 | <Datetime { ...this.props } /> |
| 20 | ); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | module.exports = register(Datepicker, ['datetime', 'time', 'date'], {valueType: 'datetime'}); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…