import type React from "react"; import { forwardRef, SelectHTMLAttributes } from "react"; import { InfoWrapper, InfoWrapperProps } from "@components/form/InfoWrapper.js"; export interface SelectProps extends SelectHTMLAttributes, Omit { options?: string[]; action?: { icon: JSX.Element; action: () => void; }; } export const Select = forwardRef(function Input( { label, description, options, action, disabled, error, children, ...rest }: SelectProps, ref ) { return (
{action && ( )}
); });