You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
627 B
17 lines
627 B
import { CSSMotionProps } from 'rc-motion';
|
|
import { OpenAnimation, MenuMode } from '../interface';
|
|
interface GetMotionProps {
|
|
motion?: CSSMotionProps;
|
|
defaultMotions?: Partial<{
|
|
[key in MenuMode | 'other']: CSSMotionProps;
|
|
}>;
|
|
openAnimation?: OpenAnimation;
|
|
openTransitionName?: string;
|
|
prefixCls?: string;
|
|
}
|
|
interface GetMotionState {
|
|
switchingModeFromInline: boolean;
|
|
}
|
|
export declare function getMotion({ prefixCls, motion, defaultMotions, openAnimation, openTransitionName, }: GetMotionProps, { switchingModeFromInline }: GetMotionState, menuMode: MenuMode): CSSMotionProps;
|
|
export {};
|