Pular para o conteúdo principal

PageHeader

Import

import { PageHeader } from '@resultadosdigitais/tangram-components'

Properties

size

Type
Enum of:
  • PageHeader.sizes.lg
  • PageHeader.sizes.md
  • PageHeader.sizes.sm
DefaultPageHeader.sizes.md

Description

Sets the PageHeader size.

fluid

Typebool
Defaultfalse

Description

Sets a horizontal spacing that allows the component to properly fill 100% of a region.

inner

Typebool
Defaultfalse

Description

Sets the type inner for page header.

children

Typenode

Description

Sets the children.

actionBack 🗑️

Concerns
🗑️ Deprecated: Replace by `<PageHeader.Back />` component.
Typenode

Description

Sets element for action back area usually used to back buttons.

internal 🗑️

Concerns
🗑️ Deprecated: Replace by `inner` property.
Typebool

Description

Sets the type internal for page header. Has the same effect as the inner property.

actions 🗑️

Concerns
🗑️ Deprecated: Replace by `<PageHeader.Actions />` component.
Typenode

Description

Sets elements for action area. Usually is used <ButtonGroup /> here to encapsulate the buttons.

<PageHeaderActions />

Import

import { PageHeaderActions } from '@resultadosdigitais/tangram-components'

Properties

children

Typenode
Description

Sets the children.

<PageHeaderBack />

Import

import { PageHeaderBack } from '@resultadosdigitais/tangram-components'

Properties

tooltip

Typestring
Description

Sets the tooltip text when present.

as

TypeelementType | string
Default'a'
Description

Set element type to be rendered for this component. By default it will render a a element. Additional properties can be passed to the component according to the element specified in this property.

<PageHeader.Back href="/" />

<PageHeaderMain />

Import

import { PageHeaderMain } from '@resultadosdigitais/tangram-components'

Properties

section

Typestring
Description

Sets the section text when present.

children

Typenode
Description

Sets the children.

<PageHeaderTitle />

Import

import { PageHeaderTitle } from '@resultadosdigitais/tangram-components'

Properties

children

Typenode
Description

Sets the children.

truncate

Typebool
Defaultfalse
Description

Identifies that the text will be truncated when it exceeds the available size.

Feedback

Para reportar algum problema ou sugerir alterações, use nosso formulário de melhorias ou, se preferir, abra uma issue no nosso Github.