/** * @usevyre/react — EmptyState * * AI CONTEXT: * ┌──────────────────────────────────────────────────────────────────┐ * │ Component: EmptyState │ * │ Import: import { EmptyState } from "@usevyre/react" │ * │ │ * │ Presentational placeholder for empty lists, tables, and search │ * │ results. No state. The optional call-to-action goes in children. │ * │ │ * │ title = string (required) │ * │ description? = string │ * │ variant = "default"(box) | "search"(magnifier) │ * │ | "error"(warning) — picks a preset icon │ * │ icon? = ReactNode (overrides the preset) │ * │ size = "sm" | "md"(default) | "lg" │ * │ children? = the CTA (Button, or two buttons in a Stack) │ * └──────────────────────────────────────────────────────────────────┘ * * @example * * * */ import React from "react"; import type { BaseProps } from "../../types"; declare const PRESET_ICONS: { readonly default: () => import("react/jsx-runtime").JSX.Element; readonly search: () => import("react/jsx-runtime").JSX.Element; readonly error: () => import("react/jsx-runtime").JSX.Element; }; export type EmptyStateVariant = keyof typeof PRESET_ICONS; export interface EmptyStateProps extends Omit, "title">, BaseProps { /** Headline (required) */ title: string; /** Supporting text under the title */ description?: string; /** Picks a preset icon */ variant?: EmptyStateVariant; /** Custom icon, overrides the variant preset */ icon?: React.ReactNode; size?: "sm" | "md" | "lg"; } export declare const EmptyState: React.ForwardRefExoticComponent>; export {};