UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

9 lines (8 loc) 589 B
import type { CSSMotionProps } from 'rc-motion'; declare const initCollapseMotion: (rootCls?: string) => CSSMotionProps; declare const SelectPlacements: ["bottomLeft", "bottomRight", "topLeft", "topRight"]; export type SelectCommonPlacement = typeof SelectPlacements[number]; declare const getTransitionDirection: (placement: SelectCommonPlacement | undefined) => "slide-down" | "slide-up"; declare const getTransitionName: (rootPrefixCls: string, motion: string, transitionName?: string) => string; export { getTransitionName, getTransitionDirection }; export default initCollapseMotion;