Skip to content

Commit d3b8efb

Browse files
committed
Update FadeLeftToRightItem.component.tsx
1 parent b34356e commit d3b8efb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/components/Animations/FadeLeftToRightItem.component.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { motion, Transition } from 'motion/react';
22

3-
import type { IAnimateWithDelayProps } from './types/Animations.types';
3+
import type { IAnimateProps } from './types/Animations.types';
44

55
/**
66
* 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';
1010
* @returns {JSX.Element} - Rendered component
1111
*/
1212

13-
const FadeLeftToRightItem = ({
14-
children,
15-
cssClass,
16-
}: IAnimateWithDelayProps) => {
13+
const FadeLeftToRightItem = ({ children, cssClass }: IAnimateProps) => {
1714
const transition: Transition = {
1815
type: 'spring',
1916
duration: 0.5,

0 commit comments

Comments
 (0)