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
For instance I want to use accordions as <h4> instead of <h3>. What's the best way to do this? I wish there was a simple as property.
I had the same problem with the card component, there I just replaced h3 with h4 in components/ui/card.ts. But that is messy too because I now have 2 files for card. For accordion, it seems like the heading level is set in radix ui so I don't know where I can change it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For instance I want to use accordions as
<h4>
instead of<h3>
. What's the best way to do this? I wish there was a simpleas
property.I had the same problem with the card component, there I just replaced
h3
withh4
incomponents/ui/card.ts
. But that is messy too because I now have 2 files for card. For accordion, it seems like the heading level is set in radix ui so I don't know where I can change it.Beta Was this translation helpful? Give feedback.
All reactions