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

Method constructor

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

Source from the content-addressed store, hash-verified

121class AlertExample extends React.Component<any, any> {
122 state: any;
123 constructor(props: any) {
124 super(props);
125
126 this.state = {
127 visible: true,
128 };
129 }
130
131 onDismiss = () => {
132 this.setState({ visible: false });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected