Skip to content
Merged
Prev Previous commit
Next Next commit
chore: add story for compact empty state
  • Loading branch information
jaaydenh committed Sep 5, 2024
commit 2059be82011c609dfa8eed86b0bf31d85c08e258
10 changes: 8 additions & 2 deletions site/src/components/EmptyState/EmptyState.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ const meta: Meta<typeof EmptyState> = {
export default meta;
type Story = StoryObj<typeof EmptyState>;

const Example: Story = {
export const Example: Story = {
args: {
description: "It is easy, just click the button below",
cta: <Button>Create workspace</Button>,
},
};

export { Example as EmptyState };
export const Compact: Story = {
args: {
description: "It is easy, just click the button below",
cta: <Button>Create workspace</Button>,
isCompact: true,
},
};