@dodobrat/react-ui-kit
Version:
Simple React Component Library
16 lines (15 loc) • 594 B
TypeScript
/// <reference types="react" />
import { CnCh, AllCustomizationProps, AllPositions, PopUpAnimation } from "../../helpers/global.types";
declare type ExtraDropdownProps = CnCh & AllCustomizationProps;
export interface DropdownProps extends ExtraDropdownProps {
position?: AllPositions;
showOnFocus?: boolean;
seamless?: boolean;
isToggled?: boolean;
onToggle?: (isToggled: boolean) => void;
spacing?: number;
disabled?: boolean;
triggerElement?: HTMLElement | React.MutableRefObject<HTMLElement> | any;
animation?: PopUpAnimation;
}
export {};