PageHeader
Importβ
import { PageHeader } from '@resultadosdigitais/tangram-components'
Propertiesβ
size
β
fluid
β
Type | bool |
---|---|
Default | false |
Descriptionβ
Sets a horizontal spacing that allows the component to properly fill 100% of a region.
inner
β
children
β
actionBack
ποΈβ
Concerns | ποΈ Deprecated: Replace by `<PageHeader.Back />` component. |
---|---|
Type | node |
Descriptionβ
Sets element for action back area usually used to back buttons.
internal
ποΈβ
Concerns | ποΈ Deprecated: Replace by `inner` property. |
---|---|
Type | bool |
Descriptionβ
Sets the type internal for page header. Has the same effect as the inner property.
actions
ποΈβ
Concerns | ποΈ Deprecated: Replace by `<PageHeader.Actions />` component. |
---|---|
Type | node |
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
β
<PageHeaderBack />β
Importβ
import { PageHeaderBack } from '@resultadosdigitais/tangram-components'
Propertiesβ
tooltip
β
as
β
Type | elementType | 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
β
children
β
<PageHeaderTitle />β
Importβ
import { PageHeaderTitle } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
truncate
β
Type | bool |
---|---|
Default | false |
Descriptionβ
Identifies that the text will be truncated when it exceeds the available size.