import type { ReactNode } from 'react' import type { WidgetState } from '../stores/types' export interface WidgetErrorProps { /** * Widget ID to fetch error state from store */ id: WidgetState['id'] /** * Children to render when no error exists */ children: ReactNode /** * Override error title */ title?: string /** * Override error description/message */ description?: string }