StackGroup
Importβ
import { StackGroup } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
gap
β
Type | string | number |
---|---|
Default | 'var(--size-spacing-02)' |
Descriptionβ
Sets the gap.
If number, the values between 1 and 12 represent, respectively, the 12 available CSS spacing tokens.
You can use all size-spacing
values:
https://tangram.rdstation.com.br/docs/foundations/spacing/
If string, the full value will be passed on as the CSS gap
rule.
// Can be a number:
<StackGroup gap={3}>...</StackGroup>
// Or a string:
<StackGroup gap="20px">...</StackGroup>
align
β
as
β
Type | node |
---|---|
Default | 'div' |
Descriptionβ
Sets the element type to be rendered for this component.
By default, it will render a div
element.
<StackGroupItem />β
Importβ
import { StackGroupItem } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
align
β
as
β
Type | node |
---|---|
Default | 'div' |
Descriptionβ
Sets the element type to be rendered for this subcomponent.
By default, it will render a div
element.