File tree Expand file tree Collapse file tree
apps/frontend/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ type TextShimmerWave = {
88 as ?: React . ElementType ;
99 className ?: string ;
1010 duration ?: number ;
11- zDistance ?: number ;
1211 xDistance ?: number ;
1312 yDistance ?: number ;
1413 spread ?: number ;
@@ -22,7 +21,6 @@ export function TextShimmerWave({
2221 as : Component = 'p' ,
2322 className,
2423 duration = 1 ,
25- zDistance = 10 ,
2624 xDistance = 2 ,
2725 yDistance = - 2 ,
2826 spread = 1 ,
@@ -54,15 +52,15 @@ export function TextShimmerWave({
5452 'inline-block whitespace-pre [transform-style:preserve-3d]'
5553 ) }
5654 initial = { {
57- translateZ : 0 ,
5855 scale : 1 ,
5956 rotateY : 0 ,
6057 color : 'var(--base-color)' ,
58+ x : 0 ,
59+ y : 0 ,
6160 } }
6261 animate = { {
63- translateZ : [ 0 , zDistance , 0 ] ,
64- translateX : [ 0 , xDistance , 0 ] ,
65- translateY : [ 0 , yDistance , 0 ] ,
62+ x : [ 0 , xDistance , 0 ] ,
63+ y : [ 0 , yDistance , 0 ] ,
6664 scale : [ 1 , scaleDistance , 1 ] ,
6765 rotateY : [ 0 , rotateYDistance , 0 ] ,
6866 color : [
You can’t perform that action at this time.
0 commit comments