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
Came across this issue when I wanted to extend a Stack component (which is a styled component) and change it to a different tag, only to find that the base styles that were supposed to be extended were removed.
the "as" value is currently set to "section" and you can see there is no gap between the items. Once you remove the "as" it works as it should (but with the wrong tag). I'd have thought we would still be able to use the "as" prop when extending an existing styled component, so thought I would bring it up
The text was updated successfully, but these errors were encountered:
Came across this issue when I wanted to extend a Stack component (which is a styled component) and change it to a different tag, only to find that the base styles that were supposed to be extended were removed.
You can try it out for yourself here:
https://stackblitz.com/edit/nextjs-yrwh2y?file=pages%2Findex.js
the "as" value is currently set to "section" and you can see there is no gap between the items. Once you remove the "as" it works as it should (but with the wrong tag). I'd have thought we would still be able to use the "as" prop when extending an existing styled component, so thought I would bring it up
The text was updated successfully, but these errors were encountered: