File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
site/src/components/EmptyState Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change
1
+ import Button from "@mui/material/Button" ;
1
2
import { EmptyState } from "./EmptyState" ;
2
3
import type { Meta , StoryObj } from "@storybook/react" ;
3
4
4
5
const meta : Meta < typeof EmptyState > = {
5
6
title : "components/EmptyState" ,
6
7
component : EmptyState ,
7
8
args : {
8
- message : "Hello world " ,
9
+ message : "Create your first workspace " ,
9
10
} ,
10
11
} ;
11
12
12
13
export default meta ;
13
14
type Story = StoryObj < typeof EmptyState > ;
14
15
15
- export const Example : Story = { } ;
16
-
17
- export const WithDescription : Story = {
18
- args : {
19
- description : "Friendly greeting" ,
20
- } ,
21
- } ;
22
-
23
- export const WithCTA : Story = {
16
+ export const Example : Story = {
24
17
args : {
25
- cta : < button title = "Click me" /> ,
18
+ description : "It is easy, just click the button below" ,
19
+ cta : < Button > Create workspace</ Button > ,
26
20
} ,
27
21
} ;
You can’t perform that action at this time.
0 commit comments