import React, { useState } from 'react' import { Pagination, PaginationProps } from 'app/components' const Demo = () => { const [ curPage, setCur ] = useState(1) const props: PaginationProps = { listLength: 100, showPerPage: 6, curPage: curPage, onChange(page) { setCur(page) } } return <>

} Demo.coreSrcDirName = 'Pagination' export default Demo