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

Method constructor

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

Source from the content-addressed store, hash-verified

3449> {
3450 state: { popovers: Array<{ placement: string; text: string }> };
3451 constructor(props: any) {
3452 super(props);
3453
3454 this.state = {
3455 popovers: [
3456 {
3457 placement: 'top',
3458 text: 'Top',
3459 },
3460 {
3461 placement: 'bottom',
3462 text: 'Bottom',
3463 },
3464 {
3465 placement: 'left',
3466 text: 'Left',
3467 },
3468 {
3469 placement: 'right',
3470 text: 'Right',
3471 },
3472 ],
3473 };
3474 }
3475
3476 render() {
3477 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected