import type { FormNotificationTexts } from '@intecion/ipal-kit' import { RenderForm, type SendFormAction } from '@intecion/ipal-kit/rsc' // Classes set once per project — here plain names the sandbox CSS styles. const formClasses = { actions: 'actions', back: 'btn btn-secondary', choice: 'choice', choices: 'choices', error: 'error', field: 'field', fieldHalf: 'half', fields: 'grid', form: 'form', formError: 'error', input: 'input', label: 'label', progress: 'progress', select: 'input', stepTitle: 'step-title', submit: 'btn', success: 'success', textarea: 'input', } type Props = { form?: unknown; formTexts?: FormNotificationTexts; locale: string; sendForm?: SendFormAction } export function FormBlock({ form, formTexts, locale, sendForm }: Props) { if (!formTexts || !sendForm) return null return }