MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / constructor

Method constructor

types/reactstrap-tests.tsx:380–387  ·  view source on GitHub ↗
(props: any)

Source from the content-addressed store, hash-verified

378class Example14 extends React.Component<any, any> {
379 state: any;
380 constructor(props: any) {
381 super(props);
382
383 this.state = { cSelected: [] };
384
385 this.onRadioBtnClick = this.onRadioBtnClick.bind(this);
386 this.onCheckboxBtnClick = this.onCheckboxBtnClick.bind(this);
387 }
388
389 onRadioBtnClick(rSelected: number) {
390 this.setState({ rSelected });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected