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