Skip to content

Commit

Permalink
✨ Export animations
Browse files Browse the repository at this point in the history
  • Loading branch information
lnardon committed Nov 9, 2023
1 parent 532e98a commit 2c27d75
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function animateText(
targetElement.appendChild(container);
}

const appear = `
export const appear = `
@keyframes appear {
from {
opacity: 0;
Expand All @@ -30,7 +30,7 @@ const appear = `
}
}
`;
const slideDown = `
export const slideDown = `
@keyframes slideDown {
from {
opacity: 0;
Expand All @@ -44,7 +44,7 @@ const slideDown = `
}
}
`;
const slideUp = `
export const slideUp = `
@keyframes slideUp {
from {
opacity: 0;
Expand All @@ -56,7 +56,7 @@ const slideUp = `
}
}
`;
const slideLeft = `
export const slideLeft = `
@keyframes slideUp {
from {
opacity: 0;
Expand All @@ -68,7 +68,7 @@ const slideLeft = `
}
}
`;
const slideRight = `
export const slideRight = `
@keyframes slideUp {
from {
opacity: 0;
Expand Down

0 comments on commit 2c27d75

Please sign in to comment.