Pular para o conteúdo principal

Navbar

import { Navbar } from '@resultadosdigitais/tangram-components'
Typenode

Description

Sets the children.

Type
Enum of:
  • Navbar.sizes.md
  • Navbar.sizes.sm
DefaultNavbar.sizes.md

Description

Sets the Navbar size.

Typebool
Defaultfalse

Description

Disables automatic positioning of the component. If this property is true, the component positioning must be provided by some external means.

import { NavbarAccountInfo } from '@resultadosdigitais/tangram-components'
import { NavbarAccountItem } from '@resultadosdigitais/tangram-components'
import { NavbarAcccountProvider } from '@resultadosdigitais/tangram-components'
Typenode
Description

Sets children.

Typestring
Description

Sets image source.

Typestring
Description

Sets the user name.

Typestring
Description

Sets the account name.

import { NavbarItem } from '@resultadosdigitais/tangram-components'
Typebool
Description

Sets the item as active.

TypeelementType | 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>
Typenode
Description

Sets children.

import { NavbarSection } from '@resultadosdigitais/tangram-components'
Typenode
Description

Sets children.

Typebool
Defaultfalse
Description

Makes the Navbar.Section fill all available horizontal space.

Typebool
Defaultfalse
Description

Removes the Navbar.Section border.

Feedback