FoundationsTextList
TextList
List semantics are handled for you automatically, including the use of ordered lists where appropriate.
TextListProps
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
children | StackProps['children'] | Yes | — | — |
color | TextProps['color']critical|warning|info|success|accent|textPrimary|textBody|textSecondary|textTertiary|textDisabled|textLink|inherit | — | — | — |
data | StackProps['data'] | — | — | — |
gap | StackProps['gap'] | — | small | — |
size | TextProps['size']xsmall|small|medium|large|xlarge | — | — | — |
type | keyof typeof typeToElementnumber|bullet|alpha | — | bullet | — |