antd
Version:
An enterprise-class UI design language and React components implementation
9 lines (8 loc) • 559 B
TypeScript
import type { CSSMotionProps } from 'rc-motion';
declare const collapseMotion: 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 collapseMotion;