We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c164087 commit fed2622Copy full SHA for fed2622
site/src/components/EmptyState/EmptyState.stories.tsx
@@ -0,0 +1,27 @@
1
+import { EmptyState } from "./EmptyState";
2
+import type { Meta, StoryObj } from "@storybook/react";
3
+
4
+const meta: Meta<typeof EmptyState> = {
5
+ title: "components/EmptyState",
6
+ component: EmptyState,
7
+ args: {
8
+ message: "Hello world",
9
+ },
10
+};
11
12
+export default meta;
13
+type Story = StoryObj<typeof EmptyState>;
14
15
+export const Example: Story = {};
16
17
+export const WithDescription: Story = {
18
19
+ description: "Friendly greeting",
20
21
22
23
+export const WithCTA: Story = {
24
25
+ cta: <button title="Click me" />,
26
27
site/src/components/EmptyState/EmptyState.test.tsx
0 commit comments