import React from "react"; import { gothampro } from "@/utils/fonts"; interface SelectOption { value: string; label: string; } interface SelectProps { label?: string; placeholder?: string; value?: string; options: SelectOption[]; onChange?: (e: React.ChangeEvent) => void; onBlur?: (e: React.FocusEvent) => void; error?: string; disabled?: boolean; required?: boolean; className?: string; id?: string; name?: string; } export default function Select({ label, placeholder, value, options, onChange, onBlur, error, disabled = false, required = false, className = "", id, name, }: SelectProps) { return (
{label && ( )} {error && {error}}
); }