aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/hidden.js
diff options
context:
space:
mode:
authorMG12 <wuzhao.mail@gmail.com>2015-12-14 00:50:41 +0800
committerMG12 <wuzhao.mail@gmail.com>2015-12-14 00:50:41 +0800
commit71bd9bc11f2ca6068f7977ff3511b2798f73d0c6 (patch)
treee24404e929db29204fa008546377351d314f9480 /examples/hidden.js
parent0e62bf0b7bdc260e882fd185492939cbaed04d56 (diff)
downloadtime-picker-71bd9bc11f2ca6068f7977ff3511b2798f73d0c6.tar.gz
time-picker-71bd9bc11f2ca6068f7977ff3511b2798f73d0c6.tar.zst
time-picker-71bd9bc11f2ca6068f7977ff3511b2798f73d0c6.zip
update disabled options
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);