Component that represents each item in the list. Must be put inside the
Listcomponent. The list item is composed of three parts that are represented with the
rightclasses. These classes can be used to ensure that the content of the list items is properly aligned.
Click here to see the original article
Hello! There is a modifier for the active ListItem?
@boomfly What do you mean with the “active” listItem? If you want an effect when an item is clicked you can use
Can I use
I’ve used it in my project and it works. But it’s not mentions in the Props table above.
@samphan that’s because
onClickis a regular attribute for DOM elements, not a specific prop for
ListItem, naturally you can use it in the regular way