rharuow-ds
Version:
Modern React Design System with 8 components: Button, Input (with password support), Textarea, Select, AsyncSelect, MultiSelect, MultiAsyncSelect, and RadioGroup. Full React Hook Form integration, Tailwind CSS styling, and CSS Variables for theme customiz
12 lines (11 loc) • 419 B
TypeScript
import * as React from "react";
import type { SelectOption } from "./types";
export interface SelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
name: string;
label?: string;
options: SelectOption[];
containerClassName?: string;
isClearable?: boolean;
}
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
export { Select };