import { Heading } from '@chakra-ui/react'; import React from 'react'; interface Props { title: string; } const AppErrorTitle = ({ title }: Props) => { return { title }; }; export default AppErrorTitle;