Skip to content

ReactPaginate #513

@Muha11ad

Description

@Muha11ad

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
          .......
        />
    );
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions