-
I wanted to implement some custom styled Tabs based on the headless Tab component. I know, that svelte does not support inheritance, but I tried the workarounds mentioned in Svelte #192 but I can not get it to work. I have your TabGroup Wrapper Element.
And then I wrap the TabList in my own TabList Element:
Why is the context undefined? It should be passed down the subtree? Shouldn't it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Works fine for me: https://svelte.dev/repl/42d9fb51060045be822ff19c459e5833?version=3.46.4 |
Beta Was this translation helpful? Give feedback.
-
Tailwindcss https://tailwindcss.com/ |
Beta Was this translation helpful? Give feedback.
Works fine for me: https://svelte.dev/repl/42d9fb51060045be822ff19c459e5833?version=3.46.4