source: phonelux-frontend/src/components/PaginationComponent/PaginationComponent.js@ dbd4834

Last change on this file since dbd4834 was dbd4834, checked in by Marko <Marko@…>, 22 months ago

Homepage, login and register components added

  • Property mode set to 100644
File size: 655 bytes
Line 
1import * as React from 'react';
2import Pagination from '@mui/material/Pagination';
3import Stack from '@mui/material/Stack';
4import "./PaginationComponent.css"
5
6export class PaginationComponent extends React.Component {
7 constructor(props) {
8 super(props)
9
10 this.state = {
11
12 }
13 }
14
15 render() {
16 return (
17 <div className='pagination-wrapper'>
18 <Pagination className='paginationcomponent-pagination' onChange={(event) => this.props.changePageHandler(event.currentTarget.textContent)}
19 count={this.props.numberOfPages} color="primary" />
20 </div>
21 )
22 }
23}
24
25export default PaginationComponent
26
Note: See TracBrowser for help on using the repository browser.