MCPcopy
hub / github.com/adrianhajdin/project_3D_developer_portfolio / textVariant

Function textVariant

src/utils/motion.js:1–17  ·  view source on GitHub ↗
(delay)

Source from the content-addressed store, hash-verified

1export 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
19export const fadeIn = (direction, type, delay, duration) => {
20 return {

Callers 4

ExperienceFunction · 0.90
FeedbacksFunction · 0.90
AboutFunction · 0.90
WorksFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected