mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
10 lines
405 B
Plaintext
10 lines
405 B
Plaintext
/** Dropdown select. Same chrome as Input plus a chevron. */
|
|
export interface SelectOption { value: string; label: string }
|
|
export interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'onChange'> {
|
|
options?: (SelectOption | string)[];
|
|
value?: string;
|
|
onChange?: (value: string) => void;
|
|
placeholder?: string;
|
|
}
|
|
export function Select(props: SelectProps): JSX.Element;
|