import React from 'react'; import { Listbox } from '@headlessui/react'; import { CheckIcon, SelectorIcon } from '@heroicons/react/solid'; export interface SelectProps { label: string; options: { name: string; value: string; icon: JSX.Element; }[]; id: string; active: { name: string; value: string; icon: JSX.Element; }; onChange: (value: string) => void; } export const Select = ({ label, options, id, active, onChange, }: SelectProps): JSX.Element => { return (