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
Things like vanilla extract don't support styling arbitrary children using complex selectors like data selectors. It would be great to have an escape hatch and be able to pass your own class to certain components (like group headers).
Agreed. A future update will make the Group header a separate component that forwards className.
pacocoursey
changed the title
Would be great to be able to pass a class name as props instead of depending on data attributes
Extract Group.Heading to a separate component
May 19, 2024
Things like vanilla extract don't support styling arbitrary children using complex selectors like data selectors. It would be great to have an escape hatch and be able to pass your own class to certain components (like group headers).
Here is the discussion I started in the vanilla extract repo vanilla-extract-css/vanilla-extract#1411
The text was updated successfully, but these errors were encountered: