-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui): rebuild tabs with radix primitives, ref #4309
- Loading branch information
1 parent
0de3900
commit 3b0488e
Showing
11 changed files
with
1,086 additions
and
1,428 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { Tabs as Component } from './tabs'; | ||
|
||
const meta: Meta<typeof Component.Root> = { | ||
component: Component.Root, | ||
tags: ['autodocs'], | ||
title: 'Tabs', | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof Component.Root>; | ||
|
||
export const Tabs: Story = { | ||
render: () => ( | ||
<Component.Root> | ||
<Component.List> | ||
<Component.Trigger value="0">Asset</Component.Trigger> | ||
<Component.Trigger value="1">Activity</Component.Trigger> | ||
</Component.List> | ||
</Component.Root> | ||
), | ||
}; |
Oops, something went wrong.