Initial commit with files

Still need to fix the imports
This commit is contained in:
Ryan Gossiaux
2021-12-13 17:13:47 -08:00
parent 42aba8a158
commit db9ec57065
56 changed files with 4034 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<script lang="ts">
import { useTabsContext } from "./TabGroup.svelte";
let api = useTabsContext("TabList");
$: propsWeControl = {
role: "tablist",
"aria-orientation": $api.orientation,
};
</script>
<div {...{ ...$$restProps, ...propsWeControl }}>
<slot selectedIndex={$api.selectedIndex} />
</div>