aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/value-and-defaultValue.js.map
diff options
context:
space:
mode:
authorparanoidjk <hust2012jiangkai@gmail.com>2017-05-27 16:25:03 +0800
committerparanoidjk <hust2012jiangkai@gmail.com>2017-05-27 16:25:03 +0800
commitd156d507717331bdcf86d6c367bfeb3c880ce96e (patch)
tree730fbe34e17f7300a1ab51f87121278be2140972 /examples/value-and-defaultValue.js.map
parentb879cfead429b717b7d89f4ceaf55973e2d96b4f (diff)
downloadtime-picker-d156d507717331bdcf86d6c367bfeb3c880ce96e.tar.gz
time-picker-d156d507717331bdcf86d6c367bfeb3c880ce96e.tar.zst
time-picker-d156d507717331bdcf86d6c367bfeb3c880ce96e.zip
Updates
Diffstat (limited to 'examples/value-and-defaultValue.js.map')
-rw-r--r--examples/value-and-defaultValue.js.map2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/value-and-defaultValue.js.map b/examples/value-and-defaultValue.js.map
index d69efbc..713796e 100644
--- a/examples/value-and-defaultValue.js.map
+++ b/examples/value-and-defaultValue.js.map
@@ -1 +1 @@
{"version":3,"sources":["webpack:///./examples/value-and-defaultValue.js"],"names":["App","state","value","handleValueChange","console","log","format","setState","clear","undefined","render","Component","document","getElementById"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;AAEA;;;;AACA;;;;AACA;;;;AACA;;;;;;KAEMA,G;;;;;;;;;;;;uKACJC,K,GAAQ;AACNC,cAAO;AADD,M,QAGRC,iB,GAAoB,UAACD,KAAD,EAAW;AAC7BE,eAAQC,GAAR,CAAYH,SAASA,MAAMI,MAAN,CAAa,UAAb,CAArB;AACA,aAAKC,QAAL,CAAc,EAAEL,YAAF,EAAd;AACD,M,QACDM,K,GAAQ,YAAM;AACZ,aAAKD,QAAL,CAAc;AACZL,gBAAOO;AADK,QAAd;AAGD,M;;;iBACDC,M,qBAAS;AACP,YACE;AAAA;AAAA;AACE;AACE,uBAAc,KAAKT,KAAL,CAAWC,KAD3B;AAEE,mBAAU,KAAKC;AAFjB,SADF;AAKE;AACE,gBAAO,KAAKF,KAAL,CAAWC,KADpB;AAEE,mBAAU,KAAKC;AAFjB,SALF;AASE;AAAA;AAAA,WAAQ,SAAS,KAAKK,KAAtB;AAAA;AAAA;AATF,MADF;AAaD,I;;;GA3Be,gBAAMG,S,GATxB;;AAuCA,oBAASD,MAAT,CACE,8BAAC,GAAD,OADF,EAEEE,SAASC,cAAT,CAAwB,iBAAxB,CAFF,E","file":"value-and-defaultValue.js","sourcesContent":["/* eslint no-console:0 */\n\nimport 'rc-time-picker/assets/index.less';\n\nimport React from 'react';\nimport ReactDom from 'react-dom';\nimport moment from 'moment';\nimport TimePicker from 'rc-time-picker';\n\nclass App extends React.Component {\n state = {\n value: moment(),\n };\n handleValueChange = (value) => {\n console.log(value && value.format('HH:mm:ss'));\n this.setState({ value });\n }\n clear = () => {\n this.setState({\n value: undefined,\n });\n }\n render() {\n return (\n <div>\n <TimePicker\n defaultValue={this.state.value}\n onChange={this.handleValueChange}\n />\n <TimePicker\n value={this.state.value}\n onChange={this.handleValueChange}\n />\n <button onClick={this.clear}>clear</button>\n </div>\n );\n }\n}\n\nReactDom.render(\n <App />,\n document.getElementById('__react-content')\n);\n\n\n\n// WEBPACK FOOTER //\n// ./examples/value-and-defaultValue.js"],"sourceRoot":""} \ No newline at end of file {"version":3,"sources":["webpack:///./examples/value-and-defaultValue.js"],"names":["App","state","value","moment","handleValueChange","console","log","format","setState","clear","undefined","React","Component","ReactDom","render","document","getElementById"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEA;;AAEA;AACA;AACA;AACA;;IAEMA,G;;;;;;;;;;;;;;6OACJC,K,GAAQ;AACNC,aAAO,8CAAAC;AADD,K,QAGRC,iB,GAAoB,UAACF,KAAD,EAAW;AAC7BG,cAAQC,GAAR,CAAYJ,SAASA,MAAMK,MAAN,CAAa,UAAb,CAArB;AACA,YAAKC,QAAL,CAAc,EAAEN,YAAF,EAAd;AACD,K,QACDO,K,GAAQ,YAAM;AACZ,YAAKD,QAAL,CAAc;AACZN,eAAOQ;AADK,OAAd;AAGD,K;;;;;6BACQ;AACP,aACE;AAAA;AAAA;AACE,oEAAC,+DAAD;AACE,wBAAc,KAAKT,KAAL,CAAWC,KAD3B;AAEE,oBAAU,KAAKE;AAFjB,UADF;AAKE,oEAAC,+DAAD;AACE,iBAAO,KAAKH,KAAL,CAAWC,KADpB;AAEE,oBAAU,KAAKE;AAFjB,UALF;AASE;AAAA;AAAA,YAAQ,SAAS,KAAKK,KAAtB;AAAA;AAAA;AATF,OADF;AAaD;;;;EA3Be,6CAAAE,CAAMC,S;;AA8BxB,iDAAAC,CAASC,MAAT,CACE,4DAAC,GAAD,OADF,EAEEC,SAASC,cAAT,CAAwB,iBAAxB,CAFF,E","file":"examples/value-and-defaultValue.js","sourcesContent":["/* eslint no-console:0 */\n\nimport 'rc-time-picker/assets/index.less';\n\nimport React from 'react';\nimport ReactDom from 'react-dom';\nimport moment from 'moment';\nimport TimePicker from 'rc-time-picker';\n\nclass App extends React.Component {\n state = {\n value: moment(),\n };\n handleValueChange = (value) => {\n console.log(value && value.format('HH:mm:ss'));\n this.setState({ value });\n }\n clear = () => {\n this.setState({\n value: undefined,\n });\n }\n render() {\n return (\n <div>\n <TimePicker\n defaultValue={this.state.value}\n onChange={this.handleValueChange}\n />\n <TimePicker\n value={this.state.value}\n onChange={this.handleValueChange}\n />\n <button onClick={this.clear}>clear</button>\n </div>\n );\n }\n}\n\nReactDom.render(\n <App />,\n document.getElementById('__react-content')\n);\n\n\n\n// WEBPACK FOOTER //\n// ./examples/value-and-defaultValue.js"],"sourceRoot":""} \ No newline at end of file