mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
Updated stories
This commit is contained in:
parent
4e06b9a856
commit
407075ac8a
@ -22,7 +22,7 @@ type Story = StoryObj<typeof DropdownMenu>;
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
children: (
|
||||
<DropdownMenu>
|
||||
<>
|
||||
<DropdownMenuTrigger>
|
||||
<Button variant="outline">Open</Button>
|
||||
</DropdownMenuTrigger>
|
||||
@ -34,7 +34,7 @@ export const Default: Story = {
|
||||
<DropdownMenuItem>Team</DropdownMenuItem>
|
||||
<DropdownMenuItem>Subscription</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
</>
|
||||
)
|
||||
}
|
||||
};
|
||||
|
@ -18,8 +18,10 @@ type Story = StoryObj<typeof Tabs>;
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
className: 'w-[400px]',
|
||||
defaultValue: 'account',
|
||||
children: (
|
||||
<Tabs className="w-[400px]" defaultValue="account">
|
||||
<>
|
||||
<TabsList className="grid w-full grid-cols-2">
|
||||
<TabsTrigger value="account">Account</TabsTrigger>
|
||||
<TabsTrigger value="password">Password</TabsTrigger>
|
||||
@ -30,7 +32,7 @@ export const Default: Story = {
|
||||
<TabsContent value="password">
|
||||
Password
|
||||
</TabsContent>
|
||||
</Tabs>
|
||||
</>
|
||||
)
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user