Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 03:02:46 +00:00
co-authored by renee-png
parent 82690d8e5c
commit b609d63935
@@ -201,6 +201,7 @@ interface SavedTemplate {
font_family: string;
font_size_pt: number;
line_height: number;
margin_inches?: number;
signature_blocks: Array<{ name: string; title?: string }>;
fields: FormFieldDef[];
updated_at: string;
@@ -215,6 +216,15 @@ const LINE_HEIGHTS = [
{ value: 2.0, label: "2.0" },
];
const MARGIN_OPTIONS = [
{ value: 0.5, label: '0.5"' },
{ value: 0.75, label: '0.75"' },
{ value: 1.0, label: '1"' },
{ value: 1.25, label: '1.25"' },
{ value: 1.5, label: '1.5"' },
{ value: 2.0, label: '2"' },
];
export function CustomFormBuilder() {
const [title, setTitle] = useState("Official Notice");
const [hideTitle, setHideTitle] = useState(false);