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.