aboutsummaryrefslogblamecommitdiffhomepage
path: root/examples/pick-time.js.map
blob: 1988632a772b08f5e4c67a3d52116f5d681209aa (plain) (tree)
1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
{"version":3,"sources":["webpack:///./examples/pick-time.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA;;AAEA;;;;AACA;;;;AAEA;;;;AAEA;;;;;;AAEA,KAAM,aAAa,IAAnB,C,CAXA;;AAYA,KAAM,MAAM,aAAa,UAAb,GAA0B,OAAtC;;AAGA,UAAS,QAAT,CAAkB,KAAlB,EAAyB;AACvB,WAAQ,GAAR,CAAY,SAAS,MAAM,MAAN,CAAa,GAAb,CAArB;AACD;;AAED,oBAAS,MAAT,CACE;AACE,UAAO,EAAE,OAAO,GAAT,EADT;AAEE,eAAY,UAFd;AAGE,iBAAc,uBAHhB;AAIE,cAAU,KAJZ;AAKE,aAAU;AALZ,GADF,EAQE,SAAS,cAAT,CAAwB,iBAAxB,CARF,E","file":"pick-time.js","sourcesContent":["/* eslint no-console:0 */\n\nimport 'rc-time-picker/assets/index.less';\n\nimport React from 'react';\nimport ReactDom from 'react-dom';\n\nimport moment from 'moment';\n\nimport TimePicker from 'rc-time-picker';\n\nconst showSecond = true;\nconst str = showSecond ? 'HH:mm:ss' : 'HH:mm';\n\n\nfunction onChange(value) {\n  console.log(value && value.format(str));\n}\n\nReactDom.render(\n  <TimePicker\n    style={{ width: 100 }}\n    showSecond={showSecond}\n    defaultValue={moment()}\n    className=\"xxx\"\n    onChange={onChange}\n  />,\n  document.getElementById('__react-content')\n);\n\n\n\n/** WEBPACK FOOTER **\n ** ./examples/pick-time.js\n **/"],"sourceRoot":""}