Skip to content

Commit 6b168d6

Browse files
committed
chore: add story for compact empty state
1 parent 5cc1e9f commit 6b168d6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

site/src/components/EmptyState/EmptyState.stories.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,17 @@ const meta: Meta<typeof EmptyState> = {
1313
export default meta;
1414
type Story = StoryObj<typeof EmptyState>;
1515

16-
const Example: Story = {
16+
export const Example: Story = {
1717
args: {
1818
description: "It is easy, just click the button below",
1919
cta: <Button>Create workspace</Button>,
2020
},
2121
};
2222

23-
export { Example as EmptyState };
23+
export const Compact: Story = {
24+
args: {
25+
description: "It is easy, just click the button below",
26+
cta: <Button>Create workspace</Button>,
27+
isCompact: true,
28+
},
29+
};

0 commit comments

Comments
 (0)