File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
atcoder-problems-frontend/src/components Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ import { BootstrapTable, TableHeaderColumn } from "react-bootstrap-table";
4
4
import { RankingEntry } from "../interfaces/RankingEntry" ;
5
5
import { useLocalStorage } from "../utils/LocalStorage" ;
6
6
import { UserNameLabel } from "./UserNameLabel" ;
7
+ import {
8
+ ListPaginationPanel ,
9
+ ListPaginationPanelProps ,
10
+ } from "./ListPaginationPanel" ;
7
11
8
12
interface Props {
9
13
title : React . ReactNode ;
@@ -88,6 +92,11 @@ export const Ranking: React.FC<Props> = (props) => {
88
92
value : props . ranking . length ,
89
93
} ,
90
94
] ,
95
+ paginationPanel : function DataFormat (
96
+ paginationPanelProps : ListPaginationPanelProps
97
+ ) : React . ReactElement {
98
+ return < ListPaginationPanel { ...paginationPanelProps } /> ;
99
+ } ,
91
100
} }
92
101
>
93
102
< TableHeaderColumn dataField = "rank" > #</ TableHeaderColumn >
@@ -213,6 +222,11 @@ export const RemoteRanking: React.FC<RemoteProps> = (props) => {
213
222
value : 200 ,
214
223
} ,
215
224
] ,
225
+ paginationPanel : function DataFormat (
226
+ paginationPanelProps : ListPaginationPanelProps
227
+ ) : React . ReactElement {
228
+ return < ListPaginationPanel { ...paginationPanelProps } /> ;
229
+ } ,
216
230
} }
217
231
>
218
232
< TableHeaderColumn dataField = "rank" > #</ TableHeaderColumn >
You can’t perform that action at this time.
0 commit comments