* Rename ui to shared * Delete unused Switch component * Update stories with Figma links * Update Tag story naming for clarity * Update Toggle button story naming for clarity * Move shared components to the shared folder * Remove file as part of TS migration * Migrate jsx to tsx * Remove file as part of TS migration * Migrate jsx to tsx * Include necessary controls only * Auto SF GitOrigin-RevId: d2458eeffa7a6b67ce522c3ccb6b4f71e5e76d62
24 lines
484 B
React
24 lines
484 B
React
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 } },
|
|
},
|
|
parameters: {
|
|
controls: {
|
|
include: ['currentPage'],
|
|
},
|
|
},
|
|
}
|