From 9fad5bd5acf6b5d5f92969873c0237251a3daed5 Mon Sep 17 00:00:00 2001 From: hiren1212 Date: Mon, 24 Jan 2022 23:47:45 +0530 Subject: [PATCH] Feature - wms11 create component for table pagination --- src/assets/images/NextIcon.js | 9 +++++++ src/assets/images/PreviousIcon.js | 7 ++++++ src/components/TablePagination/index.js | 33 +++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 src/assets/images/NextIcon.js create mode 100644 src/assets/images/PreviousIcon.js create mode 100644 src/components/TablePagination/index.js diff --git a/src/assets/images/NextIcon.js b/src/assets/images/NextIcon.js new file mode 100644 index 0000000..98f15dc --- /dev/null +++ b/src/assets/images/NextIcon.js @@ -0,0 +1,9 @@ +const NextIcon = () => ( + + + + +); + +export default NextIcon; + diff --git a/src/assets/images/PreviousIcon.js b/src/assets/images/PreviousIcon.js new file mode 100644 index 0000000..37d8269 --- /dev/null +++ b/src/assets/images/PreviousIcon.js @@ -0,0 +1,7 @@ +const PreviousIcon = () => ( + + + +); + +export default PreviousIcon; diff --git a/src/components/TablePagination/index.js b/src/components/TablePagination/index.js new file mode 100644 index 0000000..9981eaf --- /dev/null +++ b/src/components/TablePagination/index.js @@ -0,0 +1,33 @@ +import * as React from 'react'; +import Pagination from '@mui/material/Pagination'; +import Stack from '@mui/material/Stack'; +import { PaginationItem } from '@mui/material'; +import NextIcon from 'assets/images/NextIcon'; +import PreviousIcon from 'assets/images/PreviousIcon'; + +function TablePagination() { + return ( + + ( + + )} + /> + + + ); +} + +export default TablePagination;