MCPcopy Create free account
hub / github.com/Lobos/react-ui / Datepicker

Class Datepicker

src/Datepicker/index.js:8–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import { register } from '../higherOrders/FormItem';
7
8class 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
24module.exports = register(Datepicker, ['datetime', 'time', 'date'], {valueType: 'datetime'});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…