UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

16 lines (15 loc) 496 B
import { ReactNode } from 'react'; import { BadgeProps } from '../Badge'; export interface ErrorStateProps extends BadgeProps { /** * Name of the presented missing data entity * Provide pluralized and lowercased * @example "users" * */ entityName?: ReactNode; } /** * Component for surfacing inline errors * Most often used for data queries * */ export declare const ErrorState: ({ children, entityName, ...props }: ErrorStateProps) => import("react").JSX.Element;