bee-form-control
Version:
form-control ui component for react
1 lines • 1.44 kB
Source Map (JSON)
{"version":3,"sources":["demo\\FormControlDemo.js"],"names":["Demo","props","HanderChange","bind","console","log","render"],"mappings":";;;;;;AAAA;;AACA;;;;;;;;;;;;;;IAEMA,I;;;AACL,eAAYC,KAAZ,EAAmB;AAAA;;AAAA,+CAClB,sBAAMA,KAAN,CADkB;;AAElB,QAAKC,YAAL,GAAoB,MAAKA,YAAL,CAAkBC,IAAlB,OAApB;AAFkB;AAGlB;;gBACDD,Y,2BAAgB;AACfE,UAAQC,GAAR,CAAY,cAAZ;AACA,E;;gBACDC,M,qBAAQ;AACP,SACC;AAAA;AAAA;AACC,2DADD;AAEC,+CAFD;AAEM,+CAFN;AAGC,wDAAa,cAAa,kBAA1B,EAA6C,aAAY,YAAzD,EAAsE,UAAU,KAAKJ,YAArF,GAHD;AAIC,+CAJD;AAIM,+CAJN;AAKC,wDAAa,MAAK,UAAlB,GALD;AAMC,+CAND;AAMM,+CANN;AAOC,wDAAa,MAAK,OAAlB;AAPD,GADD;AAWA,E;;;;;qBAGaF,I","file":"FormControlDemo.js","sourceRoot":"E:/New/tinper/react-comp/form-control","sourcesContent":["import { FormControl } from '../src';\r\nimport React, { Component } from 'react'\r\n\r\nclass Demo extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.HanderChange = this.HanderChange.bind(this);\r\n\t}\r\n\tHanderChange () {\r\n\t\tconsole.log(\"handerChange\");\r\n\t}\r\n\trender(){\r\n\t\treturn( \r\n\t\t\t<div>\r\n\t\t\t\t<FormControl/>\t\t\t\t\r\n\t\t\t\t<br/><br/>\r\n\t\t\t\t<FormControl defaultValue=\"FormControl test\" placeholder=\"Enter text\" onChange={this.HanderChange} /> \r\n\t\t\t\t<br/><br/>\r\n\t\t\t\t<FormControl type=\"checkbox\" />\r\n\t\t\t\t<br/><br/>\r\n\t\t\t\t<FormControl type=\"radio\" />\r\n </div>\r\n )\r\n\t}\r\n\r\n}\r\nexport default Demo;"]}