Files
portfolio/src/shared/ui/ViewTransitionWrapper/index.ts
T
Ilia Mashkov 7cba3053f4 feat: ViewTransitionWrapper shared component with stable react-dom fallback
Wraps children in React's ViewTransition (canary API) when available,
falling back to Fragment in environments where ViewTransition is undefined
(test env, stable react-dom). Add react/canary to tsconfig types to
expose the ViewTransition component type.
2026-05-12 16:10:37 +03:00

2 lines
68 B
TypeScript

export { ViewTransitionWrapper } from './ui/ViewTransitionWrapper';