import React from 'react' import { Pagination as PaginationStyled, PaginationItem } from '@styles/pagination' interface Props { nextPagePath: string | null previousPagePath: string | null } export default function Pagination({ nextPagePath, previousPagePath }: Props) { return nextPagePath != null || previousPagePath != null ? ( {nextPagePath != null && ( Newer )} {previousPagePath != null && ( Older )} ) : null }