/** * @a2ui-bridge/react-shadcn - Component mapping * MIT License - Copyright (c) 2024 southleft */ import type { ComponentMapping } from '@a2ui-bridge/react'; import { Fallback } from './components/Fallback.js'; /** * ShadCN/Tailwind component mapping for A2UI. * Use this with the Root or Surface components. * * @example * ```tsx * import { Surface } from '@a2ui-bridge/react'; * import { shadcnComponents } from '@a2ui-bridge/react-shadcn'; * * * ``` */ export declare const shadcnComponents: ComponentMapping; /** * Creates a component mapping that includes fallback handling for unknown component types. * Use this instead of shadcnComponents if you want graceful degradation for unknown components. * * @example * ```tsx * import { Surface } from '@a2ui-bridge/react'; * import { createComponentsWithFallback } from '@a2ui-bridge/react-shadcn'; * * const components = createComponentsWithFallback(); * * * ``` */ export declare function createComponentsWithFallback(customComponents?: Partial): ComponentMapping; /** * Re-export the Fallback component for direct use */ export { Fallback }; //# sourceMappingURL=mapping.d.ts.map