List API
Learn about the List component's props and CSS classes.Import
import { ListProps, ListUnorderedProps, ListOrderedProps, ListIconProps, ListItemProps, } from "@prismane/core";
Props
List
List
extends Flex component's props.
List.Unordered
List.Unordered
extends List component's props.
List.Ordered
List.Ordered
extends List component's props.
List.Icon
List.Icon
extends Icon component's props.
List.Item
List.Item
extends Flex component's props.
CSS
List
List
extends Flex component's CSS classes.
Rule | Global Class | Description |
---|---|---|
root | .PrismaneList-root | The container of the link component. |
List.Unordered
List.Unordered
extends List component's CSS classes.
Rule | Global Class | Description |
---|---|---|
root | .PrismaneListUnordered-root | The container of the link component. |
List.Ordered
List.Ordered
extends List component's CSS classes.
Rule | Global Class | Description |
---|---|---|
root | .PrismaneListOrdered-root | The container of the link component. |
List.Icon
List.Icon
extends Icon component's CSS classes.
Rule | Global Class | Description |
---|---|---|
root | .PrismaneListIcon-root | The container of the link component. |
List.Item
List.Item
extends Flex component's CSS classes.
Rule | Global Class | Description |
---|---|---|
root | .PrismaneListItem-root | The container of the link component. |