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
Is your feature request related to a problem? Please describe.
i'm trying to have a component where i can dynamically change an element from say a div to a main tag based on an as prop - i can do this in React for example?
Describe the solution you'd like
so inside one component i may have <Base as="div" /> but in another component i want to use it again but this time i want it to be main? <Base as="main" /> if that makes sense? this could then share some common styling/functionality etc....
P.S. Sorry if this should not be reported as an issue/feature request? i could not find in the docs if this is even possible...
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
i'm trying to have a component where i can dynamically change an element from say a div to a main tag based on an as prop - i can do this in React for example?
Describe the solution you'd like
so inside one component i may have
<Base as="div" />
but in another component i want to use it again but this time i want it to be main?<Base as="main" />
if that makes sense? this could then share some common styling/functionality etc....P.S. Sorry if this should not be reported as an issue/feature request? i could not find in the docs if this is even possible...
The text was updated successfully, but these errors were encountered: