import { ContainerCard } from '@components/ContainerCard' import { ExclamationIcon } from '@heroicons/react/outline' interface ErrorProps { text: string param: string | string[] subtitle?: string } export const Error = ({ text, param, subtitle }: ErrorProps) => { return ( } subtitle={subtitle} >
{text}
{param}
Please click{' '} here {' '} to go back to the main page.
) }