import type { ReactNode } from 'react'; import { Stack } from '@mui/material'; import { Heading } from '../Heading'; import { Text } from '../Text'; export interface ErrorStateProps { title: string; description?: string; action?: ReactNode; } export function ErrorState({ title, description, action }: ErrorStateProps) { return ( {title} {description && {description}} {action &&
{action}
}
); }