Add changePage method. TotalPages state #8
Add method in MainPage to change the currentPage state. Passed the method down to LandingPage and ArtPage and created TS props declarations for it
Showing
- frontend/src/Components/ArtPage.tsx 3 additions, 2 deletionsfrontend/src/Components/ArtPage.tsx
- frontend/src/Components/ExhibitionPiece.tsx 1 addition, 8 deletionsfrontend/src/Components/ExhibitionPiece.tsx
- frontend/src/Components/LandingPage.tsx 24 additions, 2 deletionsfrontend/src/Components/LandingPage.tsx
- frontend/src/Components/MainPage.tsx 18 additions, 4 deletionsfrontend/src/Components/MainPage.tsx
- frontend/src/Components/NavButton.tsx 15 additions, 2 deletionsfrontend/src/Components/NavButton.tsx
- frontend/src/Components/usePoetry.tsx 9 additions, 9 deletionsfrontend/src/Components/usePoetry.tsx
- frontend/src/SVGs.tsx 35 additions, 0 deletionsfrontend/src/SVGs.tsx
Loading
Please register or sign in to comment