You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/pagination/stories/pagination.stories.tsx
+41-2Lines changed: 41 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
importtype{Meta,StoryObj}from'@storybook/react';
2
-
import*asReactfrom'react';
2
+
importReact,{useEffect}from'react';
3
3
4
4
import{ICONS}from'@/assets';
5
5
import{STYLES_NAME}from'@/constants';
@@ -17,6 +17,12 @@ const meta = {
17
17
component: Story,
18
18
parameters: {
19
19
layout: 'centered',
20
+
docs: {
21
+
description: {
22
+
component:
23
+
'Pagination is a controlled component. This story is an example of how to use it. To see other examples or modify the component behavior, visit the other stories in Pagination section or change the props in the controls.',
24
+
},
25
+
},
20
26
},
21
27
tags: ['autodocs'],
22
28
argTypes: argtypes(variantsObject,themeSelected),
@@ -29,7 +35,13 @@ type Story = StoryObj<typeof meta> & { args: { themeArgs?: object } };
0 commit comments