List
import { List } from "anolis-ui";export type ListProps = ComplementProps & { _bullet?: any; _item?: any };
Basic
List is used to display list items
- First item
- Second item
- Third item
- Forth item
<List v="unordered" listStylePosition="inside"><ListItem>First item</ListItem><ListItem>Second item</ListItem><ListItem>Third item</ListItem><ListItem>Forth item</ListItem></List>
Ordered list
Simple ordered list
- First item
- Second item
- Third item
- Forth item
<List v="ordered" listStylePosition="inside"><ListItem>First item</ListItem><ListItem>Second item</ListItem><ListItem>Third item</ListItem><ListItem>Forth item</ListItem></List>