{"version":3,"sources":["webpack:///./examples/open.js"],"names":["App","createClass","getInitialState","open","setOpen","setState","toggleOpen","state","render","document","getElementById"],"mappings":";;;;;;;;;;;;;;;AAEA;;AAEA;;;;AACA;;;;AACA;;;;;;AANA;;AAQA,KAAMA,MAAM,gBAAMC,WAAN,CAAkB;AAAA;AAC5BC,kBAD4B,6BACV;AAChB,YAAO;AACLC,aAAM;AADD,MAAP;AAGD,IAL2B;AAM5BC,UAN4B,yBAMV;AAAA,SAARD,IAAQ,QAARA,IAAQ;;AAChB,UAAKE,QAAL,CAAc,EAAEF,UAAF,EAAd;AACD,IAR2B;AAS5BG,aAT4B,wBASf;AACX,UAAKD,QAAL,CAAc;AACZF,aAAM,CAAC,KAAKI,KAAL,CAAWJ;AADN,MAAd;AAGD,IAb2B;AAc5BK,SAd4B,oBAcnB;AACP,YACE;AAAA;AAAA;AACE;AAAA;AAAA,WAAQ,SAAS,KAAKF,UAAtB;AAAA;AAAA,QADF;AAEE,+DAAY,MAAM,KAAKC,KAAL,CAAWJ,IAA7B,EAAmC,QAAQ,KAAKC,OAAhD,EAAyD,SAAS,KAAKA,OAAvE;AAFF,MADF;AAMD;AArB2B,EAAlB,CAAZ;;AAwBA,oBAASI,MAAT,CACE,8BAAC,GAAD,OADF,EAEEC,SAASC,cAAT,CAAwB,iBAAxB,CAFF,E","file":"open.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 TimePicker from 'rc-time-picker';\n\nconst App = React.createClass({\n getInitialState() {\n return {\n open: false,\n };\n },\n setOpen({ open }) {\n this.setState({ open });\n },\n toggleOpen() {\n this.setState({\n open: !this.state.open,\n });\n },\n render() {\n return (\n <div>\n <button onClick={this.toggleOpen}>Toggle open</button>\n <TimePicker open={this.state.open} onOpen={this.setOpen} onClose={this.setOpen} />\n </div>\n );\n },\n});\n\nReactDom.render(\n <App />,\n document.getElementById('__react-content')\n);\n\n\n\n// WEBPACK FOOTER //\n// ./examples/open.js"],"sourceRoot":""}