InlineGroup
Importβ
import { InlineGroup } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
gap
β
Type | number | string | arrayOf |
---|---|
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.
You can also pass an array with two values, the first for the horizontal spacing and the second for the vertical spacing.
// Can be a number:
<InlineGroup gap={3}>...</InlineGroup>
// Can be a string:
<InlineGroup gap="20px">...</InlineGroup>
// Can be an array :
<InlineGroup gap={[3, '40px']}>...</InlineGroup>
inline
β
lineBreak
β
Type | bool |
---|---|
Default | false |
Descriptionβ
Sets if the items will break into two or more lines, if they exceed the available width.
verticalAlign
β
horizontalAlign
β
Type | Enum of: |
---|---|
Default | InlineGroup.horizontalAlignments.left |
Descriptionβ
Sets the horizontal alignment.
as
β
Type | node |
---|---|
Default | 'div' |
Descriptionβ
Sets the element type to be rendered for this component.
By default, it will render a div
element.
<InlineGroupItem />β
Importβ
import { InlineGroupItem } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
fluid
β
verticalAlign
β
as
β
Type | node |
---|---|
Default | 'div' |
Descriptionβ
Sets the element type to be rendered for this subcomponent.
By default, it will render a div
element.