-
+
+ {#each Object.values(Tabs) as tab}
+
(activeTab = tab)}
+ >
+ {tab}
+
+ {/each}
+
+ {#if activeTab === Tabs.Components}
+
+ {:else if activeTab === Tabs.Bindings}
+
Bindings
+ {:else if activeTab === Tabs.State}
+
State
+ {/if}
@@ -34,6 +60,17 @@
position: relative;
}
+ .tabs {
+ display: flex;
+ flex-direction: row;
+ gap: 8px;
+ padding: var(--spacing-m) var(--spacing-l);
+ border-bottom: var(--border-light);
+ }
+ .tab-content {
+ padding: var(--spacing-l);
+ }
+
.divider {
position: relative;
height: 100%;
@@ -45,7 +82,6 @@
background: var(--spectrum-global-color-gray-300);
cursor: row-resize;
}
-
.dividerClickExtender {
position: absolute;
cursor: col-resize;