Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
22 lines
593 B
JavaScript
22 lines
593 B
JavaScript
import Pagination from '@mui/material/Pagination';
|
|
import PaginationItem from '@mui/material/PaginationItem';
|
|
import Stack from '@mui/material/Stack';
|
|
import ArrowBackIcon from '@mui/icons-material/ArrowBack';
|
|
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
|
|
|
|
export default function CustomIcons() {
|
|
return (
|
|
<Stack spacing={2}>
|
|
<Pagination
|
|
count={10}
|
|
renderItem={(item) => (
|
|
<PaginationItem
|
|
slots={{ previous: ArrowBackIcon, next: ArrowForwardIcon }}
|
|
{...item}
|
|
/>
|
|
)}
|
|
/>
|
|
</Stack>
|
|
);
|
|
}
|