Skip to content

[ListItem] Add the ability to toggle 'open' after component has mounted #4803

@davincho

Description

@davincho

Problem description

Currently one can only set the initial value via initiallyOpen https://github.com/callemall/material-ui/blob/master/src/List/ListItem.js#L303

It would be helpful if ListItem could be toggled via an additional attribute such as open and could be used as a controlled component as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: listChanges related to the list

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions