1
|
{"version":3,"sources":["webpack:///./examples/pick-time.js"],"names":["showSecond","str","onChange","value","console","log","format","ReactDom","render","width","moment","document","getElementById"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;;AAEA,IAAMA,aAAa,IAAnB;AACA,IAAMC,MAAMD,aAAa,UAAb,GAA0B,OAAtC;;AAGA,SAASE,QAAT,CAAkBC,KAAlB,EAAyB;AACvBC,UAAQC,GAAR,CAAYF,SAASA,MAAMG,MAAN,CAAaL,GAAb,CAArB;AACD;;AAED,iDAAAM,CAASC,MAAT,CACE,4DAAC,+DAAD;AACE,SAAO,EAAEC,OAAO,GAAT,EADT;AAEE,cAAYT,UAFd;AAGE,gBAAc,8CAAAU,EAHhB;AAIE,aAAU,KAJZ;AAKE,YAAUR;AALZ,EADF,EAQES,SAASC,cAAT,CAAwB,iBAAxB,CARF,E","file":"examples/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"],"sourceRoot":""}
|