UNPKG

@edancerys/ts-react-components-lib

Version:
36 lines (35 loc) 995 B
import React, { MouseEvent } from 'react'; import { StringProps } from './String'; export interface DropDownProps { dropDownProps?: DropDownBlobProps[]; backgroundColor?: string; border?: string; borderRadius?: string; disabled?: boolean; width?: string; minWidth?: string; maxWidth?: string; maxHeight?: string; className?: string; isActive?: boolean; transform?: string; boxShadow?: string; margin?: string; padding?: string; position?: 'left' | 'right'; fontSize?: string; zIndex?: number; onClick?: (event?: MouseEvent | any) => void; } export interface StyledAnimatedWrapper extends DropDownProps { height: string | number; } export interface DropDownBlobProps { title?: StringProps; value?: string; url?: string; iconSize?: string; [key: string]: any; onClick?: (event?: MouseEvent) => void; } export declare const DropDown: React.FC<DropDownProps>;