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

Function Example

stories/examples/Table/Variants.js:5–26  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

3import { colors } from '../options';
4
5function Example(args) {
6 return (
7 <Table>
8 <thead>
9 <tr>
10 <th>Class</th>
11 <th>Heading</th>
12 <th>Heading</th>
13 </tr>
14 </thead>
15 <tbody>
16 {colors.map((color) => (
17 <tr className={`table-${color}`} key={color}>
18 <td>{color}</td>
19 <td>Cell</td>
20 <td>Cell</td>
21 </tr>
22 ))}
23 </tbody>
24 </Table>
25 );
26}
27
28export default Example;
29

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…