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

Function Example

stories/examples/Navbar/Brand.js:4–31  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

2import { Navbar, NavbarBrand } from 'reactstrap';
3
4function Example(args) {
5 return (
6 <>
7 <Navbar color="dark" className="my-2" dark>
8 <NavbarBrand href="/">
9 <img
10 src="/logo-white.svg"
11 alt="logo"
12 style={{ height: 40, width: 40 }}
13 />
14 </NavbarBrand>
15 </Navbar>
16 <Navbar color="secondary" className="my-2" dark>
17 <NavbarBrand href="/">Reactstrap</NavbarBrand>
18 </Navbar>
19 <Navbar color="dark" className="my-2" dark>
20 <NavbarBrand href="/">
21 <img
22 src="/logo-white.svg"
23 alt="logo"
24 style={{ height: 40, width: 40 }}
25 />
26 Reactstrap
27 </NavbarBrand>
28 </Navbar>
29 </>
30 );
31}
32
33export default Example;
34

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…