Navbar
Navbar Component
Use the navbar component by giving components to the left, right, center sections separately.
Example Usage
import { Navbar } from "react-chat-elements"
<Navbar
left=<div>Logo</div>
center=<div>Home</div>
right=<div>Contact</div>z
type="light"
/>
<br />
<Navbar
left=<div>Logo</div>
center=<div>Home</div>
right=<div>Contact</div>z
type="dark"
/>
Result
Navbar Props
| prop | default | type | description |
|---|---|---|---|
| type | light | string | navbar style type (eg: light, dark) |
| left | none | component | navbar left component |
| center | none | component | navbar center component |
| right | none | component | navbar right component |