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.