Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0220c97

Browse files
chore(site): add TableToolbar stories (#12473)
Related to#12263
1 parentb8dd6b3 commit0220c97

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
importtype{Meta,StoryObj}from"@storybook/react";
2+
import{PaginationStatus,TableToolbar}from"./TableToolbar";
3+
4+
constmeta:Meta<typeofTableToolbar>={
5+
title:"components/TableToolbar",
6+
component:TableToolbar,
7+
};
8+
9+
exportdefaultmeta;
10+
typeStory=StoryObj<typeofTableToolbar>;
11+
12+
exportconstWithPagination:Story={
13+
args:{
14+
children:(
15+
<PaginationStatus
16+
isLoading={false}
17+
label="items"
18+
showing={10}
19+
total={100}
20+
/>
21+
),
22+
},
23+
};
24+
25+
exportconstWithLoadingPagination:Story={
26+
args:{
27+
children:<PaginationStatusisLoading/>,
28+
},
29+
};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp