Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 272633b

Browse files
committed
Storybook tweaks
1 parent 30ced2f commit 272633b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

site/src/components/UsersTable/UsersTable.stories.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ export const Example = Template.bind({})
1414
Example.args = {
1515
users: [MockUser, MockUser2],
1616
}
17+
18+
export const Empty = Template.bind({})
19+
Empty.args = {
20+
users: [],
21+
}

site/src/pages/UsersPage/UsersPageView.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Ready.args = {
1515
users: [MockUser, MockUser2],
1616
pager: MockPager
1717
}
18-
export const Loading = Template.bind({})
19-
Loading.args = {
18+
export const Empty = Template.bind({})
19+
Empty.args = {
2020
users: [],
2121
}

0 commit comments

Comments
 (0)