mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
199ab985a0
Reorganise Storybook Stories GitOrigin-RevId: 91014f49f84c645f87091724f03a007b731a8ad5
19 lines
453 B
JavaScript
19 lines
453 B
JavaScript
import Pagination from '../js/shared/components/pagination'
|
|
|
|
export const Interactive = args => {
|
|
return <Pagination {...args} />
|
|
}
|
|
|
|
export default {
|
|
title: 'Shared / Components / Pagination',
|
|
component: Pagination,
|
|
args: {
|
|
currentPage: 1,
|
|
totalPages: 10,
|
|
handlePageClick: () => {},
|
|
},
|
|
argTypes: {
|
|
currentPage: { control: { type: 'number', min: 1, max: 10, step: 1 } },
|
|
totalPages: { control: { disable: true } },
|
|
},
|
|
}
|