Component props.
Optionalappear?: booleanIf true, run the enter transition on initial mount.
Render prop receiving transition state/props.
OptionalclassNames?: stringBase CSS class name(s) used for the transition states.
Boolean/flag indicating whether the component should be entered/shown.
OptionalmountOnEnter?: booleanIf true, mount the child only when entering.
Called when entering begins.
Called when entering completes.
Called while the component is entering.
Called when exiting begins.
Called when exiting completes.
Called while the component is exiting.
Optionaltimeout?: numberDuration (or durations) for the transition.
OptionalunmountOnExit?: booleanIf true, unmount the child after exiting.
CSSTransition component that extends Transition by applying CSS class names during enter/exit phases.
Lilact accepts multiple children for CSSTransition. This has the benefit of receiving single events on multiple animated components.