mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
15 lines
337 B
TypeScript
15 lines
337 B
TypeScript
import * as React from "react";
|
|
import ReactPaginate = require("react-paginate");
|
|
|
|
class Test extends React.Component<{}, {}> {
|
|
public render() {
|
|
return (
|
|
<ReactPaginate
|
|
pageNum={1}
|
|
pageRangeDisplayed={10}
|
|
marginPagesDisplayed={2}
|
|
/>
|
|
);
|
|
}
|
|
}
|