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

Function Examplea

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

Source from the content-addressed store, hash-verified

90
91// --------------- Alert
92const Examplea = (props: any) => {
93 return (
94 <div>
95 <Alert
96 color="success"
97 closeClassName="close"
98 closeAriaLabel="close"
99 fade={false}
100 innerRef={React.createRef()}
101 >
102 <strong>Well done!</strong> You successfully read this important alert
103 message.
104 </Alert>
105 <Alert color="info">
106 <strong>Heads up!</strong> This alert needs your attention, but it's not
107 super important.
108 </Alert>
109 <Alert color="warning">
110 <strong>Warning!</strong> Better check yourself, you're not looking too
111 good.
112 </Alert>
113 <Alert color="danger">
114 <strong>Oh snap!</strong> Change a few things up and try submitting
115 again.
116 </Alert>
117 </div>
118 );
119};
120
121class AlertExample extends React.Component<any, any> {
122 state: any;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…