@@ -228,7 +228,7 @@ function commitAppearingPairViewTransitions(placement: Fiber): void {
228228 }
229229 const name = props . name ;
230230 const className : ?string = getViewTransitionClassName (
231- props . className ,
231+ props . default ,
232232 props . share ,
233233 ) ;
234234 if ( className !== 'none' ) {
@@ -267,7 +267,7 @@ export function commitEnterViewTransitions(
267267 const props : ViewTransitionProps = placement . memoizedProps ;
268268 const name = getViewTransitionName ( props , state ) ;
269269 const className : ?string = getViewTransitionClassName (
270- props . className ,
270+ props . default ,
271271 state . paired ? props . share : props . enter ,
272272 ) ;
273273 if ( className !== 'none' ) {
@@ -337,7 +337,7 @@ function commitDeletedPairViewTransitions(deletion: Fiber): void {
337337 const pair = pairs . get ( name ) ;
338338 if ( pair !== undefined ) {
339339 const className : ?string = getViewTransitionClassName (
340- props . className ,
340+ props . default ,
341341 props . share ,
342342 ) ;
343343 if ( className !== 'none' ) {
@@ -389,7 +389,7 @@ export function commitExitViewTransitions(deletion: Fiber): void {
389389 ? appearingViewTransitions . get ( name )
390390 : undefined ;
391391 const className : ?string = getViewTransitionClassName (
392- props . className ,
392+ props . default ,
393393 pair !== undefined ? props . share : props . exit ,
394394 ) ;
395395 if ( className !== 'none' ) {
@@ -470,7 +470,7 @@ export function commitBeforeUpdateViewTransition(
470470 // a layout only change, then the "foo" class will be applied even though
471471 // it was not actually an update. Which is a bug.
472472 const className : ?string = getViewTransitionClassName (
473- newProps . className ,
473+ newProps . default ,
474474 newProps . update ,
475475 ) ;
476476 if ( className === 'none' ) {
@@ -495,7 +495,7 @@ export function commitNestedViewTransitions(changedParent: Fiber): void {
495495 const props : ViewTransitionProps = child . memoizedProps ;
496496 const name = getViewTransitionName ( props , child . stateNode ) ;
497497 const className : ?string = getViewTransitionClassName (
498- props . className ,
498+ props . default ,
499499 props . update ,
500500 ) ;
501501 if ( className !== 'none' ) {
@@ -735,7 +735,7 @@ export function measureUpdateViewTransition(
735735 const oldName = getViewTransitionName ( oldFiber . memoizedProps , state ) ;
736736 // Whether it ends up having been updated or relayout we apply the update class name.
737737 const className : ?string = getViewTransitionClassName (
738- props . className ,
738+ props . default ,
739739 props . update ,
740740 ) ;
741741 if ( className === 'none' ) {
@@ -787,7 +787,7 @@ export function measureNestedViewTransitions(
787787 const state : ViewTransitionState = child . stateNode ;
788788 const name = getViewTransitionName ( props , state ) ;
789789 const className : ?string = getViewTransitionClassName (
790- props . className ,
790+ props . default ,
791791 props . update ,
792792 ) ;
793793 let previousMeasurements : null | Array < InstanceMeasurement > ;
0 commit comments