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.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export { ViewTransitionWrapper } from './ui/ViewTransitionWrapper';
|
||||
Reference in New Issue
Block a user