aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/instant/src/components/animations/slide_animations.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/instant/src/components/animations/slide_animations.tsx b/packages/instant/src/components/animations/slide_animations.tsx
index 84280372b..7c8666861 100644
--- a/packages/instant/src/components/animations/slide_animations.tsx
+++ b/packages/instant/src/components/animations/slide_animations.tsx
@@ -21,10 +21,7 @@ export interface SlideAnimationProps {
animationDirection?: string;
}
-export const SlideAnimation =
- styled.div <
- SlideAnimationProps >
- `
+export const SlideAnimation = styled<SlideAnimationProps, 'div'>('div')`
animation-name: ${props =>
css`
${props.keyframes};