element-hq / compound

Element's design system
https://compound.element.io
Apache License 2.0
12 stars 3 forks source link

Update gen component template to use forwardRef #252

Closed germain-gg closed 1 year ago

germain-gg commented 1 year ago

All components should by default use forwardRef as it is needed for Radix asChild pattern to work.

Further details available https://www.radix-ui.com/primitives/docs/guides/composition