UNPKG

acud

Version:

acg react 组件库

31 lines (30 loc) • 1.11 kB
/** * @file * @author dailin01 */ import * as React from 'react'; import { TriggerProps } from 'rc-trigger'; import { AnimationType, AlignType, BuildInPlacements, ActionType } from 'rc-trigger/lib/interface'; export interface DropdownProps extends Pick<TriggerProps, 'getPopupContainer' | 'children' | 'mouseEnterDelay' | 'mouseLeaveDelay'> { minOverlayWidthMatchTrigger?: boolean; arrow?: boolean; onVisibleChange?: (visible: boolean) => void; onOverlayClick?: (e: Event) => void; prefixCls?: string; transitionName?: string; overlayClassName?: string; openClassName?: string; animation?: AnimationType; align?: AlignType; overlayStyle?: React.CSSProperties; placement?: string; placements?: BuildInPlacements; overlay?: (() => React.ReactElement) | React.ReactElement; trigger?: ActionType | ActionType[]; alignPoint?: boolean; showAction?: ActionType[]; hideAction?: ActionType[]; visible?: boolean; } declare const _default: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<unknown>>; export default _default;