diff options
Diffstat (limited to 'examples/open.js')
-rw-r--r-- | examples/open.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/open.js b/examples/open.js index 8e4f5de..12d8a8d 100644 --- a/examples/open.js +++ b/examples/open.js | |||
@@ -22,7 +22,12 @@ class App extends React.Component { | |||
22 | return ( | 22 | return ( |
23 | <div> | 23 | <div> |
24 | <button onClick={this.toggleOpen}>Toggle open</button> | 24 | <button onClick={this.toggleOpen}>Toggle open</button> |
25 | <TimePicker open={this.state.open} onOpen={this.setOpen} onClose={this.setOpen} /> | 25 | <TimePicker |
26 | open={this.state.open} | ||
27 | onOpen={this.setOpen} | ||
28 | onClose={this.setOpen} | ||
29 | focusOnOpen | ||
30 | /> | ||
26 | </div> | 31 | </div> |
27 | ); | 32 | ); |
28 | } | 33 | } |