Page MenuHomec4science

getTabTransitionComponent.js
No OneTemporary

File Metadata

Created
Sun, Jul 27, 15:07

getTabTransitionComponent.js

import NoopTransition from '@restart/ui/NoopTransition';
import Fade from './Fade';
export default function getTabTransitionComponent(transition) {
if (typeof transition === 'boolean') {
return transition ? Fade : NoopTransition;
}
return transition;
}

Event Timeline