diff options
Diffstat (limited to 'examples/disabled.js')
-rw-r--r-- | examples/disabled.js | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/examples/disabled.js b/examples/disabled.js index 9d74002..a38ce16 100644 --- a/examples/disabled.js +++ b/examples/disabled.js | |||
@@ -48,14 +48,22 @@ function disabledSeconds(h, m) { | |||
48 | } | 48 | } |
49 | 49 | ||
50 | ReactDom.render( | 50 | ReactDom.render( |
51 | <TimePicker | 51 | <div> |
52 | showSecond={showSecond} | 52 | <h3>Disabled picker</h3> |
53 | defaultValue={now} | 53 | <TimePicker |
54 | className="xxx" | 54 | defaultValue={now} |
55 | onChange={onChange} | 55 | disabled |
56 | disabledHours={disabledHours} | 56 | onChange={onChange} |
57 | disabledMinutes={disabledMinutes} | 57 | /> |
58 | disabledSeconds={disabledSeconds} | 58 | <h3>Disabled options</h3> |
59 | />, | 59 | <TimePicker |
60 | document.getElementById('__react-content') | 60 | showSecond={showSecond} |
61 | ); | 61 | defaultValue={now} |
62 | className="xxx" | ||
63 | onChange={onChange} | ||
64 | disabledHours={disabledHours} | ||
65 | disabledMinutes={disabledMinutes} | ||
66 | disabledSeconds={disabledSeconds} | ||
67 | /> | ||
68 | </div> | ||
69 | , document.getElementById('__react-content')); | ||