Skip to content

Properties

PropertyTypeDescription
valueArray<string>
Array<number>
Array<ReactNode>
(optional) value to format
childrenReact.ReactNode(optional) children to format
formatIntl.ListFormatOptions(optional) Formatting options for the value. See the Intl.ListFormat documentation.
variantol
ul
text
(optional) Defines if the value should be displayed in list format, or regular text format on one line. Defaults to text
listTypea
A
i
I
1
circle
disc
square
undefined
(optional) Defines the type of list styling used for list variants. Used together with variant ol and ul. Variant ol: a, A, i, I and 1. Variant ul: circle, disc and square. Defaults to undefined