summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/tabs.tsx
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-02-26 15:39:45 -0600
committerGitHub <[email protected]>2026-02-26 15:39:45 -0600
commit9312867565e1de0f51a7ea8d43c5957afa4c90e5 (patch)
tree9b21d69a9dc69d916f40fd4552e73c92f030c8e0 /packages/ui/src/components/tabs.tsx
parent7e6a007c351fa86a3a38973489b47d79ea32c877 (diff)
downloadopencode-9312867565e1de0f51a7ea8d43c5957afa4c90e5.tar.gz
opencode-9312867565e1de0f51a7ea8d43c5957afa4c90e5.zip
feat(app): new tabs styling (#15284)
Co-authored-by: David Hill <[email protected]>
Diffstat (limited to 'packages/ui/src/components/tabs.tsx')
-rw-r--r--packages/ui/src/components/tabs.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/ui/src/components/tabs.tsx b/packages/ui/src/components/tabs.tsx
index a9dbea7bc..396504dd7 100644
--- a/packages/ui/src/components/tabs.tsx
+++ b/packages/ui/src/components/tabs.tsx
@@ -61,6 +61,7 @@ function TabsTrigger(props: ParentProps<TabsTriggerProps>) {
return (
<div
data-slot="tabs-trigger-wrapper"
+ data-value={props.value}
classList={{
...(split.classList ?? {}),
[split.class ?? ""]: !!split.class,
@@ -80,6 +81,7 @@ function TabsTrigger(props: ParentProps<TabsTriggerProps>) {
<Kobalte.Trigger
{...rest}
data-slot="tabs-trigger"
+ data-value={props.value}
classList={{ [split.classes?.button ?? ""]: split.classes?.button }}
>
{split.children}