From 7e719bc4750c5a8c5ff0643a8a4f15d96816460c Mon Sep 17 00:00:00 2001 From: Arvid Norlin Date: Tue, 20 Aug 2024 09:30:03 +0200 Subject: [PATCH] chore: move typings --- .../JourneyTable/Pagination/index.tsx | 18 +++++++----------- .../Pagination/pagination.module.css | 4 ++++ types/components/myPages/myPage/earnAndBurn.ts | 13 +++++++++++++ 3 files changed, 24 insertions(+), 11 deletions(-) diff --git a/components/MyPages/Blocks/Points/EarnAndBurn/JourneyTable/Pagination/index.tsx b/components/MyPages/Blocks/Points/EarnAndBurn/JourneyTable/Pagination/index.tsx index b2ce233bb..bdbadc7e8 100644 --- a/components/MyPages/Blocks/Points/EarnAndBurn/JourneyTable/Pagination/index.tsx +++ b/components/MyPages/Blocks/Points/EarnAndBurn/JourneyTable/Pagination/index.tsx @@ -2,16 +2,17 @@ import { ChevronRightIcon } from "@/components/Icons" import styles from "./pagination.module.css" +import { + PaginationButtonProps, + PaginationProps, +} from "@/types/components/myPages/myPage/earnAndBurn" + function PaginationButton({ children, isActive, handleClick, disabled, -}: React.PropsWithChildren<{ - disabled: boolean - isActive?: boolean - handleClick: () => void -}>) { +}: React.PropsWithChildren) { return (