react-paginate
react-paginate copied to clipboard
ReactPaginate
This error : JSX element type 'ReactPaginate' does not have any construct or call signatures.ts(2604). I have reinstalled packeges, path to react-paginate is correct, even chatGPT could not help
import ReactPaginate, {ReactPaginateProps } from "react-paginate" ;
.......
interface Props {
[key : string]: any
}
export const Pagination : React.FC<Props & ReactPaginateProps> = () => {
.....
return (
<ReactPaginate //error is here
.......
/>
);
};