We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34356e commit d3b8efbCopy full SHA for d3b8efb
src/components/Animations/FadeLeftToRightItem.component.tsx
@@ -1,6 +1,6 @@
1
import { motion, Transition } from 'motion/react';
2
3
-import type { IAnimateWithDelayProps } from './types/Animations.types';
+import type { IAnimateProps } from './types/Animations.types';
4
5
/**
6
* Fade content left to right. Needs to be used with FadeLeftToRight as parent container
@@ -10,10 +10,7 @@ import type { IAnimateWithDelayProps } from './types/Animations.types';
10
* @returns {JSX.Element} - Rendered component
11
*/
12
13
-const FadeLeftToRightItem = ({
14
- children,
15
- cssClass,
16
-}: IAnimateWithDelayProps) => {
+const FadeLeftToRightItem = ({ children, cssClass }: IAnimateProps) => {
17
const transition: Transition = {
18
type: 'spring',
19
duration: 0.5,
0 commit comments