blob: 7f6fa47a71109e4a756a7f8f09814b43e556964f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
import React from 'react';
import { Helmet } from 'react-helmet';
import brand from 'ba-api/brand';
import { SourceReader, PapperBlock } from 'ba-components';
import { TbPagination, TbPaginationCustom, GeneralPagination } from './demos';
class Paginations extends React.Component {
render() {
const title = brand.name + ' - UI Elements';
const description = brand.desc;
const docSrc = 'containers/UiElements/demos/Pagination/';
return (
<div>
<Helmet>
<title>{title}</title>
<meta name="description" content={description} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
</Helmet>
<PapperBlock title="Table Pagination" desc="The Action property of the TablePagination component allows the implementation of custom actions.">
<div>
<TbPagination />
<SourceReader componentName={docSrc + 'TbPagination.js'} />
</div>
</PapperBlock>
<PapperBlock title="Table Pagination Custom" desc="The Action property of the TablePagination component allows the implementation of custom actions.">
<div>
<TbPaginationCustom />
<SourceReader componentName={docSrc + 'TbPaginationCustom.js'} />
</div>
</PapperBlock>
<PapperBlock title="General Pagination" desc="React.js pagination component based on ultimate-pagination. It's implemented as a higher-order component that allows easy integration of react-ultimate-pagination with different CSS frameworks or approaches.">
<div>
<GeneralPagination />
<SourceReader componentName={docSrc + 'GeneralPagination.js'} />
</div>
</PapperBlock>
</div>
);
}
}
export default Paginations;
|