From 2c27d752fcbb48a2330cbb4a14a1a1c162aa581e Mon Sep 17 00:00:00 2001 From: lnardon Date: Thu, 9 Nov 2023 03:01:07 -0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Export=20animations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.ts b/index.ts index cb0e59d..edfa4e7 100644 --- a/index.ts +++ b/index.ts @@ -17,7 +17,7 @@ export function animateText( targetElement.appendChild(container); } -const appear = ` +export const appear = ` @keyframes appear { from { opacity: 0; @@ -30,7 +30,7 @@ const appear = ` } } `; -const slideDown = ` +export const slideDown = ` @keyframes slideDown { from { opacity: 0; @@ -44,7 +44,7 @@ const slideDown = ` } } `; -const slideUp = ` +export const slideUp = ` @keyframes slideUp { from { opacity: 0; @@ -56,7 +56,7 @@ const slideUp = ` } } `; -const slideLeft = ` +export const slideLeft = ` @keyframes slideUp { from { opacity: 0; @@ -68,7 +68,7 @@ const slideLeft = ` } } `; -const slideRight = ` +export const slideRight = ` @keyframes slideUp { from { opacity: 0;