diff options
| author | Adam <[email protected]> | 2026-02-26 15:39:45 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-26 15:39:45 -0600 |
| commit | 9312867565e1de0f51a7ea8d43c5957afa4c90e5 (patch) | |
| tree | 9b21d69a9dc69d916f40fd4552e73c92f030c8e0 /packages/ui/src/components/tabs.tsx | |
| parent | 7e6a007c351fa86a3a38973489b47d79ea32c877 (diff) | |
| download | opencode-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.tsx | 2 |
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} |
