import { Field } from "react-final-form"; import { Listbox, Transition } from "@headlessui/react"; import { CheckIcon, SelectorIcon } from "@heroicons/react/solid"; import { Fragment } from "react"; import { classNames } from "../../../styles/utils"; interface SelectOption { label: string; value: string; } interface props { name: string; label: string; optionDefaultText: string; options: SelectOption[]; } function SelectField({ name, label, optionDefaultText, options }: props) { return (