Update tabs.svx

This commit is contained in:
VitroidFPV
2022-06-03 14:25:14 +02:00
committed by Ryan Gossiaux
parent 751b3c1a8e
commit 7449e0e243

View File

@@ -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>