You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.
Passing
classNames
should append that to every node within the element's tree. For instance, if a React component renders the following DOM tree:and a consumer of the library passes
className="myCustomMenu"
as a prop to that Component, it should now render:Not only is the class name applied to the root node, but it is also added to all of its children as well, with the right suffix.
The benefit of this API is that passing a single class name into the Component will allow you to modify the entire tree of the Component.
Update: we should make sure to remove the
classnames
dependency when we make this change.The text was updated successfully, but these errors were encountered: