Skip to content

Commit f5b1c01

Browse files
committed
fix: export cards
1 parent 4c0638e commit f5b1c01

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/components/DigitalColleagues/DigitalColleageusLayout.stories.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Meta, StoryObj } from "@storybook/react"
22
import { DigitalColleageusLayout } from "./DigitalColleageusLayout"
33
import { mockSidebarItems, mockNotifications } from "./test-data"
44
import { businessUnits } from "./test-data"
5+
import { action } from "@storybook/addon-actions"
56

67
const meta: Meta<typeof DigitalColleageusLayout> = {
78
title: "Digital Colleagues/DigitalColleageusLayout",
@@ -24,6 +25,9 @@ export const Default: Story = {
2425
sidebarItems: mockSidebarItems,
2526
title: "Digital Colleagues",
2627
notifications: mockNotifications,
28+
onTabChange: action('onTabChange'),
29+
activeTab: 'Home',
30+
showTabs: true,
2731
businessUnits,
2832
children: (
2933
<div className="space-y-6">

src/components/ui/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export { ScrollArea, ScrollBar } from './scroll-area'
8989
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor } from './popover'
9090
export { Label } from './label'
9191
export { HoverCard, HoverCardTrigger, HoverCardContent } from './hover-card'
92-
92+
export * from './card';
9393
export {
9494
Dialog,
9595
DialogPortal,

0 commit comments

Comments
 (0)