import React from 'react'; import { cn } from '@/lib/utils'; /** * Static preview of embed form fields (matches public embed styling). */ export default function CtaFormPreview({ fields, className }) { const list = fields || []; return (
{list.length === 0 ? (

Add fields to preview

) : (
{list.map((f, idx) => (
{f.type === 'textarea' ? (