import React, { FC } from 'react'
import { Box, BoxProps, Spinner } from '@chakra-ui/react'

export const FullPageLoading: FC<BoxProps> = ({ ...props }) => {
  return (
    <Box w="100vw" h="100vh" display="flex" alignItems="center" justifyContent="center" {...props}>
      <Spinner />
    </Box>
  )
}
