UNPKG

@mui/material

Version:

Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

52 lines (46 loc) 1.12 kB
export interface Easing { easeInOut: string; easeOut: string; easeIn: string; sharp: string; } export const easing: Easing; export interface Duration { shortest: number; shorter: number; short: number; standard: number; complex: number; enteringScreen: number; leavingScreen: number; } export const duration: Duration; export interface TransitionsOptions { easing?: Partial<Easing>; duration?: Partial<Duration>; create?: ( props: string | string[], options?: Partial<{ duration: number | string; easing: string; delay: number | string }>, ) => string; getAutoHeightDuration?: (height: number) => number; } /** * @internal * @param props * @param options */ export function create( props: string | string[], options?: Partial<{ duration: number | string; easing: string; delay: number | string }>, ): string; /** * @internal * @param height */ export function getAutoHeightDuration(height: number): number; export interface Transitions { easing: Easing; duration: Duration; create: typeof create; getAutoHeightDuration: typeof getAutoHeightDuration; }