Navbar
Importβ
import { Navbar } from '@resultadosdigitais/tangram-components'
Propertiesβ
childrenβ
sizeβ
disableAutoPositioningβ
| Type | bool |
|---|---|
| Default | false |
Descriptionβ
Disables automatic positioning of the component.
If this property is true, the component positioning must be provided by some external means.
<NavbarAccountInfo />β
Importβ
import { NavbarAccountInfo } from '@resultadosdigitais/tangram-components'
<NavbarAccountItem />β
Importβ
import { NavbarAccountItem } from '@resultadosdigitais/tangram-components'
<NavbarAcccountProvider />β
Importβ
import { NavbarAcccountProvider } from '@resultadosdigitais/tangram-components'
Propertiesβ
childrenβ
avatarSrcβ
userNameβ
accountNameβ
<NavbarItem />β
Importβ
import { NavbarItem } from '@resultadosdigitais/tangram-components'
Propertiesβ
activeβ
asβ
| Type | elementType | string |
|---|
Descriptionβ
Set element type to be rendered for this component. Additional properties can be passed to the component according to the element specified in this property.
// with react-router-dom
<Navbar.Item as={Link} to="/dashboard">Dashboard</Navbar.Item>
childrenβ
<NavbarSection />β
Importβ
import { NavbarSection } from '@resultadosdigitais/tangram-components'