@coinmeca/ui
Version:
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
36 lines • 928 B
TypeScript
export interface DropdownOption {
title?: string;
alt?: string;
value?: any;
icon?: string;
img?: string;
[key: string]: any;
}
export interface Dropdown {
theme?: "light" | "dark";
style?: object;
type?: string;
title?: string;
scale?: number;
chevron?: boolean;
height?: number;
fit?: boolean;
disabled?: any;
placeholder?: string;
options?: (string | DropdownOption)[] | {
[key: string]: any;
};
option?: string | DropdownOption;
keyName?: any;
keyIndex?: number;
imgName?: string;
open?: boolean;
onClick?: Function;
onClickItem?: Function;
fix?: boolean;
responsive?: boolean;
show?: "desktop" | "laptop" | "tablet" | "mobile";
hide?: "desktop" | "laptop" | "tablet" | "mobile";
}
export default function Dropdown(props: Dropdown): import("react").JSX.Element;
//# sourceMappingURL=Dropdown.d.ts.map