16 lines
276 B
Text
16 lines
276 B
Text
---
|
|
import type { FormGroup } from './core';
|
|
import FieldSet from './components/FieldSet.astro';
|
|
|
|
export interface Props {
|
|
formGroups: FormGroup[];
|
|
}
|
|
|
|
const { formGroups } = Astro.props;
|
|
---
|
|
|
|
{
|
|
<form>
|
|
{formGroups?.map((group) => <FieldSet group={group} />)}
|
|
</form>
|
|
}
|