diff --git a/flow-typed/npm/react-paginating_v1.x.x.js.flow b/flow-typed/npm/react-paginating_v1.x.x.js.flow index c254621..1d0ae41 100644 --- a/flow-typed/npm/react-paginating_v1.x.x.js.flow +++ b/flow-typed/npm/react-paginating_v1.x.x.js.flow @@ -1,7 +1,7 @@ /** * Flowtype definitions for index * Generated by Flowgen from a Typescript Definition - * Flowgen v1.5.3 + * Flowgen v1.5.8 * Author: [Joar Wilk](http://twitter.com/joarwilk) * Repo: http://github.com/joarwilk/flowgen */ @@ -26,5 +26,5 @@ export interface PaginationProps { pageValue?: number; onPageChange?: (page?: number) => void; } -declare class Pagination mixins React.Component {} +declare function Pagination(props: any): React.SFC; declare export default typeof Pagination; diff --git a/typings/index.d.ts b/typings/index.d.ts index 6dc6a53..b86a540 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -21,6 +21,6 @@ export interface PaginationProps { onPageChange?: (page?: number) => void; } -declare class Pagination extends React.Component {} +declare function Pagination(props: any): React.SFC; -export default Pagination; \ No newline at end of file +export default Pagination;