import { Select, SelectItem, SelectProps } from "@heroui/react"; import { ReactNode, ChangeEvent } from "react"; export interface DropdownOption { key: string; label: string; startContent?: ReactNode; endContent?: ReactNode; } interface DropdownProps extends Omit { options: DropdownOption[]; value: string; onChange: (value: string) => void; className?: string; width?: string | number; containerClassName?: string; } export function Dropdown({ options, value, onChange, className = "", width = "100%", containerClassName = "", ...selectProps }: DropdownProps) { return (
); }