import type {SVGProps} from "react"; import type {PaginationItemRenderProps} from "@heroui/react"; import React from "react"; import {cn, Pagination, PaginationItemType} from "@heroui/react"; type IconSvgProps = SVGProps; export const ChevronIcon = (props: IconSvgProps) => { return ( ); }; export default function App() { const renderItem = ({ ref, key, value, isActive, onNext, onPrevious, setPage, className, }: PaginationItemRenderProps) => { if (value === PaginationItemType.NEXT) { return ( ); } if (value === PaginationItemType.PREV) { return ( ); } if (value === PaginationItemType.DOTS) { return ( ); } // cursor is the default item return ( ); }; return ( ); }