import { ShadCnProvider, UniversalTypeform } from "@formlink/runtime/ui/react";
// Import your shadcn/ui components from your project (paths vary by app)
import {
Input,
Textarea,
Label,
Badge,
ScrollArea,
Popover,
PopoverTrigger,
PopoverContent,
PopoverAnchor,
Command,
CommandList,
CommandItem,
CommandGroup,
CommandEmpty,
CommandInput,
CommandSeparator,
} from "@/components/ui"; // example alias
const components = {
Input,
Textarea,
Label,
Badge,
ScrollArea,
PopoverRoot: Popover,
PopoverTrigger,
PopoverContent,
PopoverAnchor,
CommandRoot: Command,
CommandList,
CommandItem,
CommandGroup,
CommandEmpty,
CommandInput,
CommandSeparator,
};
export default function Page() {
return (
<ShadCnProvider components={components}>
<UniversalTypeform />
</ShadCnProvider>
);
}