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 when variant is text. See the Intl.ListFormat documentation.
variantol
ul
text
(optional) Defines if the value should be displayed in list format (ol, ul) or regular text format in 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
insideboolean(optional) Defines the position of the marker.
outsideboolean(optional) Defines the position of the marker (default).
nestedboolean(optional) Will ensure a nested structure of several lists.
innerRefReact.RefObject(optional) Send along a custom React Ref.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.