@stephane1920/ts-dropdown-react
Version:
Installation: Run the following command: `npm install @stephane1920/ts-dropdown-react`
20 lines (19 loc) • 512 B
TypeScript
import { FunctionComponent } from "react";
import './style.scss';
declare type DropDownProps = {
label: string;
name: string;
zIndex?: number;
choicies: string[];
errorMessage?: string;
error?: boolean;
value?: string;
textColor?: string;
focusColor?: string;
errorColor?: string;
borderColor?: string;
borderRadius?: string;
onSelect?: CallableFunction;
};
declare const Dropdown: FunctionComponent<DropDownProps>;
export default Dropdown;