import { IconX } from '@tabler/icons-react' import { Button } from '@/client/components/ui/button' import { ComposerBannerShell } from './composer-banner' type ErrorBannerProps = { error: string onDismiss?: () => void onRetry?: () => void } export function ErrorBanner({ error, onDismiss, onRetry }: ErrorBannerProps) { return ( {error} {onRetry && ( )} {onDismiss && ( )} ) }