The following props are available for list component. These are the custom props that we've added for the list component and you can use all the other native props as well.
Attribute | Type | Description | Default |
---|---|---|---|
className | string | Add custom className for list | '' |
children | node | Add content for list | No default value it's a required prop. |
import type { ListProps } from "@material-tailwind/react";
The following props are available for list item component. These are the custom props that we've added for the list item component and you can use all the other native props as well.
Attribute | Type | Description | Default |
---|---|---|---|
ripple | boolean | Add ripple effect for list item | true |
selected | boolean | Makes the list item selected by default | false |
disabled | boolean | Makes the list item disabled | false |
className | string | Add custom className for list item | '' |
children | node | Add content for list item | No default value it's a required prop. |
import type { ListItemProps } from "@material-tailwind/react";
The following props are available for list item prefix component. These are the custom props that we've added for the list item prefix component and you can use all the other native props as well.
Attribute | Type | Description | Default |
---|---|---|---|
className | string | Add custom className for list item prefix | '' |
children | node | Add content for list item prefix | No default value it's a required prop. |
import type { ListItemPrefixProps } from "@material-tailwind/react";
The following props are available for list item suffix component. These are the custom props that we've added for the list item suffix component and you can use all the other native props as well.
Attribute | Type | Description | Default |
---|---|---|---|
className | string | Add custom className for list item suffix | '' |
children | node | Add content for list item suffix | No default value it's a required prop. |
import type { ListItemSuffixProps } from "@material-tailwind/react";