@wix/design-system
Version:
@wix/design-system
12 lines • 509 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, className, dataHook, mountOnEnter, show, timeout, unmountOnExit, onEnd, onStart, }: TransitionProps & {
timeout: number;
className?: string;
}): ReactElement;
displayName: string;
};
export default Toggle;
//# sourceMappingURL=Toggle.d.ts.map