File tree 1 file changed +4
-4
lines changed
fixtures/view-transition/src/components
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const b = (
32
32
function Component ( ) {
33
33
return (
34
34
< ViewTransition
35
- className = {
35
+ default = {
36
36
transitions [ 'enter-slide-right' ] + ' ' + transitions [ 'exit-slide-left' ]
37
37
} >
38
38
< p className = "roboto-font" > Slide In from Left, Slide Out to Right</ p >
@@ -86,17 +86,17 @@ export default function Page({url, navigate}) {
86
86
} } >
87
87
{ url === '/?b' ? 'Goto A' : 'Goto B' }
88
88
</ button >
89
- < ViewTransition className = "none" >
89
+ < ViewTransition default = "none" >
90
90
< div >
91
91
< ViewTransition >
92
92
< div >
93
- < ViewTransition className = { transitions [ 'slide-on-nav' ] } >
93
+ < ViewTransition default = { transitions [ 'slide-on-nav' ] } >
94
94
< h1 > { ! show ? 'A' : 'B' + counter } </ h1 >
95
95
</ ViewTransition >
96
96
</ div >
97
97
</ ViewTransition >
98
98
< ViewTransition
99
- className = { {
99
+ default = { {
100
100
'navigation-back' : transitions [ 'slide-right' ] ,
101
101
'navigation-forward' : transitions [ 'slide-left' ] ,
102
102
} } >
You can’t perform that action at this time.
0 commit comments