(delay)
| 1 | export const textVariant = (delay) => { |
| 2 | return { |
| 3 | hidden: { |
| 4 | y: -50, |
| 5 | opacity: 0, |
| 6 | }, |
| 7 | show: { |
| 8 | y: 0, |
| 9 | opacity: 1, |
| 10 | transition: { |
| 11 | type: "spring", |
| 12 | duration: 1.25, |
| 13 | delay: delay, |
| 14 | }, |
| 15 | }, |
| 16 | }; |
| 17 | }; |
| 18 | |
| 19 | export const fadeIn = (direction, type, delay, duration) => { |
| 20 | return { |
no outgoing calls
no test coverage detected