aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/hidden.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hidden.js')
-rw-r--r--examples/hidden.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/hidden.js b/examples/hidden.js
index 1084236..da366cc 100644
--- a/examples/hidden.js
+++ b/examples/hidden.js
@@ -30,8 +30,8 @@ ReactDom.render(
30 defaultValue={now} 30 defaultValue={now}
31 className="xxx" 31 className="xxx"
32 onChange={onChange} 32 onChange={onChange}
33 disabledHours={[0, 1, 2, 3, 4, 5, 6, 7, 8, 22, 23]} 33 disabledHours={() => [0, 1, 2, 3, 4, 5, 6, 7, 8, 22, 23]}
34 disabledMinutes={[0, 2, 4, 6, 8]} 34 disabledMinutes={() => [0, 2, 4, 6, 8]}
35 hideDisabledOptions={true} />, 35 hideDisabledOptions />,
36 document.getElementById('__react-content') 36 document.getElementById('__react-content')
37); 37);