Skip to main content

StickyBar

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

Description​

Sets the children.

Typebool
Defaultfalse

Description​

Sets if the StickyBar is irremovable by hiding the close button.

Typebool

Description​

Sets the StickyBar visibility.

Typebool
Defaultfalse

Description​

Sets the default StickyBar visibility for uncontrolled state.

Typefunc

Description​

Sets a callback behavior when the StickyBar is closed.

Typestring

Description​

Sets the background color of StickyBar.

Typestring
DefaultStickyBar.translations.en.close

Description​

Custom text for the label that identifies the close icon in the component. This text is not displayed on the screen.

Preset values for English, Brazilian Portuguese and Spanish are available in StickyBar.translations.en.close, StickyBar.translations.ptBR.close and StickyBar.translations.es.close.

<StickyBarGroup />​

Import​

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

Properties​

children​

Typenode
Description​

Sets the children.

disableAutoPositioning​

Typebool
Defaultfalse
Description​

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

<StickyBarSection />​

Import​

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

Properties​

children​

Typenode
Description​

Sets the children.

stretch​

Typebool
Defaultfalse
Description​

Makes the StickyBar.Section expanded up to the vertical limits of the StickyBar.

fluid​

Typebool
Defaultfalse
Description​

Makes the StickyBar.Section fill all available horizontal space.

Feedback​