List
<List>
renders a <ul>
element by default with reset styles.
Import
import { List, ListProps } from '@vtex/admin-ui'
Behavior
Loading...
Variation
Ordered
Loading...
Customization
You can use the csx
property to handle different styles.
Example
Loading...
Props
List
Besides the props listed bellow, you can use all the props accepted by the ul
JSX element.
Name | Type | Description | Required | Default |
---|---|---|---|---|
style | ListStyleType | List style | 🚫 | disc |
csx | StyleProp | Defines component styles | 🚫 | {} |
List.Item
Besides the props listed bellow, you can use all the props accepted by the li
JSX element.
Name | Type | Description | Required | Default |
---|---|---|---|---|
csx | StyleProp | Defines component styles | 🚫 | {} |