File tree 2 files changed +10
-7
lines changed
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -183,9 +183,7 @@ const Hero = () => {
183
183
</ ul >
184
184
</ >
185
185
186
- < div
187
- className = { clsx ( 'lg:size-[300px]' , 'size-[200px]' ) }
188
- >
186
+ < div className = { clsx ( 'lg:size-[300px]' , 'size-[200px]' ) } >
189
187
< Image
190
188
height = { 300 }
191
189
width = { 300 }
Original file line number Diff line number Diff line change @@ -54,12 +54,17 @@ export const createTransitionView = (params: TransitionViewParams) => {
54
54
55
55
const motionProps : MotionProps = {
56
56
initial : initial || from ,
57
- animate : to ,
57
+ animate : {
58
+ ...to ,
59
+ transition : {
60
+ duration,
61
+ ...( preset || microReboundPreset ) ,
62
+ ...animation . enter ,
63
+ delay : enter / 1000 ,
64
+ } ,
65
+ } ,
58
66
transition : {
59
67
duration,
60
- ...( preset || microReboundPreset ) ,
61
- ...animation . enter ,
62
- delay : enter / 1000 ,
63
68
} ,
64
69
exit : {
65
70
...from ,
You can’t perform that action at this time.
0 commit comments