Update tabs.svx
This commit is contained in:
committed by
Ryan Gossiaux
parent
751b3c1a8e
commit
7449e0e243
@@ -58,7 +58,7 @@ To style the active `Tab`, you can use the `selected` slot prop that it provides
|
|||||||
|
|
||||||
<TabGroup>
|
<TabGroup>
|
||||||
<TabList>
|
<TabList>
|
||||||
<Tab class={({selected}) => "tab-selected" : "tab-unselected"}>Tab 1</Tab>
|
<Tab class={({selected}) => selected ? "tab-selected" : "tab-unselected"}>Tab 1</Tab>
|
||||||
<!-- ... -->
|
<!-- ... -->
|
||||||
</TabList>
|
</TabList>
|
||||||
<TabPanels>
|
<TabPanels>
|
||||||
|
|||||||
Reference in New Issue
Block a user