import React from "react"; // react-hook-form import { Controller } from "react-hook-form"; // react-color import { TwitterPicker } from "react-color"; // headless ui import { Popover, Transition } from "@headlessui/react"; // components import { FormComponentProps, Input } from "components/custom-attributes"; // icons import { MoreHorizontal } from "lucide-react"; export const SelectOption: React.FC = () => (
{/* */}

🚀 Option 1

); export const SelectAttributeForm: React.FC = ({ control, multiple = false, }) => (
( )} />

Options

{/* TODO: map over options */}
🚀 {({ open, close }) => ( <> ( { onChange(value.hex); close(); }} /> )} /> )}
);