Thank you, the 2nd method works.
Is it possible to add an extra class on the child element of the component?
For example, I would like to hide the ignored user’s avatar in the desktop avatar list on the right side of the topic title, as add class to the topic list item, will it be able to add class to an avatar component?