interface TransitionProps {
    appear?: boolean;
    appearActiveClass?: string;
    appearFromClass?: string;
    appearToClass?: string;
    css?: boolean;
    duration?: number | {
        enter: number;
        leave: number;
    };
    enterActiveClass?: string;
    enterFromClass?: string;
    enterToClass?: string;
    leaveActiveClass?: string;
    leaveFromClass?: string;
    leaveToClass?: string;
    mode?: "default" | "in-out" | "out-in";
    name?: string;
    onAfterAppear?: Hook<((el: Element) => void)>;
    onAfterEnter?: Hook<((el: Element) => void)>;
    onAfterLeave?: Hook<((el: Element) => void)>;
    onAppear?: Hook<((el: Element, done: (() => void)) => void)>;
    onAppearCancelled?: Hook<((el: Element) => void)>;
    onBeforeAppear?: Hook<((el: Element) => void)>;
    onBeforeEnter?: Hook<((el: Element) => void)>;
    onBeforeLeave?: Hook<((el: Element) => void)>;
    onEnter?: Hook<((el: Element, done: (() => void)) => void)>;
    onEnterCancelled?: Hook<((el: Element) => void)>;
    onLeave?: Hook<((el: Element, done: (() => void)) => void)>;
    onLeaveCancelled?: Hook<((el: Element) => void)>;
    persisted?: boolean;
    type?: AnimationTypes;
}

Hierarchy (view full)

Properties

appear?: boolean
appearActiveClass?: string
appearFromClass?: string
appearToClass?: string
css?: boolean
duration?: number | {
    enter: number;
    leave: number;
}
enterActiveClass?: string
enterFromClass?: string
enterToClass?: string
leaveActiveClass?: string
leaveFromClass?: string
leaveToClass?: string
mode?: "default" | "in-out" | "out-in"
name?: string
onAfterAppear?: Hook<((el: Element) => void)>
onAfterEnter?: Hook<((el: Element) => void)>
onAfterLeave?: Hook<((el: Element) => void)>
onAppear?: Hook<((el: Element, done: (() => void)) => void)>
onAppearCancelled?: Hook<((el: Element) => void)>
onBeforeAppear?: Hook<((el: Element) => void)>
onBeforeEnter?: Hook<((el: Element) => void)>
onBeforeLeave?: Hook<((el: Element) => void)>
onEnter?: Hook<((el: Element, done: (() => void)) => void)>
onEnterCancelled?: Hook<((el: Element) => void)>
onLeave?: Hook<((el: Element, done: (() => void)) => void)>
onLeaveCancelled?: Hook<((el: Element) => void)>
persisted?: boolean
type?: AnimationTypes