summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/containers/UiElements/Paginations.js
diff options
context:
space:
mode:
Diffstat (limited to 'front/odiparpack/app/containers/UiElements/Paginations.js')
-rw-r--r--front/odiparpack/app/containers/UiElements/Paginations.js45
1 files changed, 45 insertions, 0 deletions
diff --git a/front/odiparpack/app/containers/UiElements/Paginations.js b/front/odiparpack/app/containers/UiElements/Paginations.js
new file mode 100644
index 0000000..7f6fa47
--- /dev/null
+++ b/front/odiparpack/app/containers/UiElements/Paginations.js
@@ -0,0 +1,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;