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'