import type { ReactNode } from 'react'
import { Card } from './Card'
interface ErrorStateProps {
message: string
action?: ReactNode
className?: string
}
function ErrorIcon(): React.ReactElement {
return (
)
}
export function ErrorState({ message, action, className = '' }: ErrorStateProps): React.ReactElement {
return (
{message}
{action &&
{action}
}
)
}