import { useState } from "react"; import { FormattedMessage, useIntl } from "react-intl"; import { FontFamilySelector } from "@/components/font-family"; import { FontWeight } from "@/components/font-weight"; import { Switch } from "@/components/switch"; import { BadgeType } from "@/types/badge"; import { PremiumOverlay } from "@/components/premium/overlay"; import { Label } from "@/components/label"; import { Input } from "@/components/input"; export const AdvancedForm = ({ badge, setBadge, }: { badge: BadgeType; setBadge: (b: BadgeType) => void; }) => { const intl = useIntl(); return (