@wix/design-system
Version:
@wix/design-system
11 lines • 470 B
TypeScript
import { ReactElement } from 'react';
import { TransitionProps } from '../Transition.types';
/** Toggle is a component to solve ReactTransitionGroup bug with lagging collapse and expand transitions. */
declare const Toggle: {
({ children, dataHook, mountOnEnter, show, timeout, unmountOnExit, onEnd, onStart, }: TransitionProps & {
timeout: number;
}): ReactElement;
displayName: string;
};
export default Toggle;
//# sourceMappingURL=Toggle.d.ts.map