Skip to main content

Interface: ListProps

Defined in: components/List/List.tsx:56

Props for the List component.

Extends​

  • Omit<React.HTMLAttributes<HTMLUListElement>, "style" | "className">

Properties​

children?​

optional children?: ReactNode

Defined in: components/List/List.tsx:71

The items — ListItem elements.

Overrides​

Omit.children


gap?​

optional gap?: GapScaleStep

Defined in: components/List/List.tsx:69

Space between items, from the stacking gap scale.

Default​

'sm'

variant?​

optional variant?: ListVariant

Defined in: components/List/List.tsx:64

Ordering and marker.

Default​

'plain'