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

Method changeTime

src/Datepicker/TimeSet.js:43–51  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

41 }
42
43 changeTime (value) {
44 let d = {};
45 d[this.props.type] = value;
46 let success = this.props.onTimeChange(d);
47 if (!success) {
48 return;
49 }
50 this.setState({ value });
51 }
52
53 setValue (value) {
54 this.setState({ value });

Callers 2

addMethod · 0.95
subMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected