Skip to content

Properties

PropertyTypeDescription
valueArray<React.ReactNode>(optional) The value to format. Can be given as children instead.
childrenReact.ReactNode(optional) The 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
unstyled
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