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 = {
|
export const Default: Story = {
|
||||||
args: {
|
args: {
|
||||||
children: (
|
children: (
|
||||||
<DropdownMenu>
|
<>
|
||||||
<DropdownMenuTrigger>
|
<DropdownMenuTrigger>
|
||||||
<Button variant="outline">Open</Button>
|
<Button variant="outline">Open</Button>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
@ -34,7 +34,7 @@ export const Default: Story = {
|
|||||||
<DropdownMenuItem>Team</DropdownMenuItem>
|
<DropdownMenuItem>Team</DropdownMenuItem>
|
||||||
<DropdownMenuItem>Subscription</DropdownMenuItem>
|
<DropdownMenuItem>Subscription</DropdownMenuItem>
|
||||||
</DropdownMenuContent>
|
</DropdownMenuContent>
|
||||||
</DropdownMenu>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -18,8 +18,10 @@ type Story = StoryObj<typeof Tabs>;
|
|||||||
|
|
||||||
export const Default: Story = {
|
export const Default: Story = {
|
||||||
args: {
|
args: {
|
||||||
|
className: 'w-[400px]',
|
||||||
|
defaultValue: 'account',
|
||||||
children: (
|
children: (
|
||||||
<Tabs className="w-[400px]" defaultValue="account">
|
<>
|
||||||
<TabsList className="grid w-full grid-cols-2">
|
<TabsList className="grid w-full grid-cols-2">
|
||||||
<TabsTrigger value="account">Account</TabsTrigger>
|
<TabsTrigger value="account">Account</TabsTrigger>
|
||||||
<TabsTrigger value="password">Password</TabsTrigger>
|
<TabsTrigger value="password">Password</TabsTrigger>
|
||||||
@ -30,7 +32,7 @@ export const Default: Story = {
|
|||||||
<TabsContent value="password">
|
<TabsContent value="password">
|
||||||
Password
|
Password
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
</Tabs>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user