big-design-ui
Version:
big-design-ui library for react applications
14 lines (13 loc) • 385 B
TypeScript
import { HTMLAttributes } from 'react';
export declare type SelectOption = {
label: string;
value: string | number | boolean | null;
isdisabled?: boolean | null;
};
export interface Props extends HTMLAttributes<HTMLInputElement> {
onChange?: () => void;
disabled?: boolean;
placeHolder?: string;
options?: SelectOption[];
label?: string;
}