UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

19 lines (18 loc) 649 B
import { ComponentProps } from 'react'; export interface StateContainerProps extends ComponentProps<"div"> { /** * Provide `true` to expand `StateContainer` across available space. * Useful for full-screen states. */ grow?: boolean; /** * Guarantees standard padding for state, improving visual consistency. * @default true */ padding?: boolean; } /** * Standard container for state components, like Spinner, EmptyState, ErrorState. * Guarantees consistent spacing. */ export declare const StateContainer: ({ className, grow, padding, ...props }: StateContainerProps) => import("react").JSX.Element;