import { Transition } from '@mantine/core'; import type { ReactNode } from 'react'; interface ScreenTransitionProps { isActive: boolean; shouldAnimate: boolean; children: ReactNode; } export const ScreenTransition = ({ isActive, shouldAnimate, children }: ScreenTransitionProps) => ( {(styles) => (
{children}
)}
);