aboutsummaryrefslogblamecommitdiffhomepage
path: root/examples/12hours.js.map
blob: 51c2fb70f7f93c54acc6a8d7af374f5654000f29 (plain) (tree)
1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
{"version":3,"sources":["webpack:///./examples/12hours.js"],"names":["format","now","moment","hour","minute","onChange","value","console","log","ReactDom","render","document","getElementById"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;;AAEA,IAAMA,SAAS,QAAf;;AAEA,IAAMC,MAAM,8CAAAC,GAASC,IAAT,CAAc,CAAd,EAAiBC,MAAjB,CAAwB,CAAxB,CAAZ;;AAEA,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;AACvBC,UAAQC,GAAR,CAAYF,SAASA,MAAMN,MAAN,CAAaA,MAAb,CAArB;AACD;;AAED,iDAAAS,CAASC,MAAT,CACE,4DAAC,+DAAD;AACE,cAAY,KADd;AAEE,gBAAcT,GAFhB;AAGE,aAAU,KAHZ;AAIE,YAAUI,QAJZ;AAKE,UAAQL,MALV;AAME,kBANF;AAOE;AAPF,EADF,EAUEW,SAASC,cAAT,CAAwB,iBAAxB,CAVF,E","file":"examples/12hours.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 format = 'h:mm a';\n\nconst now = moment().hour(0).minute(0);\n\nfunction onChange(value) {\n  console.log(value && value.format(format));\n}\n\nReactDom.render(\n  <TimePicker\n    showSecond={false}\n    defaultValue={now}\n    className=\"xxx\"\n    onChange={onChange}\n    format={format}\n    use12Hours\n    inputReadOnly\n  />,\n  document.getElementById('__react-content')\n);\n\n\n\n// WEBPACK FOOTER //\n// ./examples/12hours.js"],"sourceRoot":""}