import { ChevronLeftIcon, ChevronRightIcon } from '@chakra-ui/icons'
import { Link, SimpleGrid, Text } from '@chakra-ui/react'
import NextLink from 'next/link'
import React from 'react'
export const PaginationLink = (props) => {
const { label, href, children, ...rest } = props
return (
{label}
{children}
)
}
export const Pagination = ({ previous, next, ...rest }) => {
return (
{previous ? (
{previous.title}
) : (
)}
{next ? (
{next.title}
) : (
)}
)
}
export default Pagination