Lilact
    Preparing search index...

    Function Transition

    • Transition component that manages enter/exit lifecycle and calls callbacks based on state changes.

      Parameters

      • props: {
            _classNames: any;
            appear?: boolean;
            children: any;
            in: any;
            mountOnEnter?: boolean;
            onEnter: any;
            onEntered: any;
            onEntering: any;
            onExit: any;
            onExited: any;
            onExiting: any;
            timeout?: number;
            unmountOnExit?: boolean;
        }

        Component props.

        • _classNames: any
        • Optionalappear?: boolean

          If true, run the enter transition on initial mount.

        • children: any

          Render prop receiving transition state/props.

        • in: any

          Boolean/flag indicating whether the component should be entered/shown.

        • OptionalmountOnEnter?: boolean

          If true, mount the child only when entering.

        • onEnter: any

          Called when entering begins.

        • onEntered: any

          Called when entering completes.

        • onEntering: any

          Called while the component is entering.

        • onExit: any

          Called when exiting begins.

        • onExited: any

          Called when exiting completes.

        • onExiting: any

          Called while the component is exiting.

        • Optionaltimeout?: number

          Duration (or durations) for the transition.

        • OptionalunmountOnExit?: boolean

          If true, unmount the child after exiting.

      Returns any