aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/12hours.js.map
blob: 078db098813ad9b603ebb0a86a3b678c9aa38557 (plain) (blame)
1
{"version":3,"sources":["webpack:///./examples/12hours.js"],"names":["format","now","hour","minute","onChange","value","console","log","render","document","getElementById"],"mappings":";;;;;;;;;;;;;AAEA;;AAEA;;;;AACA;;;;AAEA;;;;AAEA;;;;;;AAEA,KAAMA,SAAS,QAAf,C,CAXA;;AAaA,KAAMC,MAAM,wBAASC,IAAT,CAAc,CAAd,EAAiBC,MAAjB,CAAwB,CAAxB,CAAZ;;AAEA,UAASC,QAAT,CAAkBC,KAAlB,EAAyB;AACvBC,WAAQC,GAAR,CAAYF,SAASA,MAAML,MAAN,CAAaA,MAAb,CAArB;AACD;;AAED,oBAASQ,MAAT,CACE;AACE,eAAY,KADd;AAEE,iBAAcP,GAFhB;AAGE,cAAU,KAHZ;AAIE,aAAUG,QAJZ;AAKE,WAAQJ,MALV;AAME;AANF,GADF,EASES,SAASC,cAAT,CAAwB,iBAAxB,CATF,E","file":"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  />,\n  document.getElementById('__react-content')\n);\n\n\n\n// WEBPACK FOOTER //\n// ./examples/12hours.js"],"sourceRoot":""}