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
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.