xylabs/sdk-react

View on GitHub
packages/shared/src/components/NotFound.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import type { BoxProps } from '@mui/material'
import { Box, Typography } from '@mui/material'
import React from 'react'

const NotFound: React.FC<BoxProps> = ({ sx, ...props }) => {
  return (
    <Box
      sx={{
        display: 'flex', flexDirection: 'column', ...sx,
      }}
      {...props}
    >
      <Typography variant="h2">Sorry!</Typography>
      <Typography marginY={3} variant="body2">
        {'Can\'t find anything here'}
      </Typography>
    </Box>
  )
}

export { NotFound }