aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-20 04:46:31 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-20 04:46:31 +0800
commitf06541ec94c2f3b8d1924da376178a5fc3f442e6 (patch)
tree9b6920c102130458e17e95121fc7b749e84f6ee8 /packages/instant
parentd5105b5c9f74a4f52e4952b845a37692bb824fd4 (diff)
downloaddexon-0x-contracts-f06541ec94c2f3b8d1924da376178a5fc3f442e6.tar
dexon-0x-contracts-f06541ec94c2f3b8d1924da376178a5fc3f442e6.tar.gz
dexon-0x-contracts-f06541ec94c2f3b8d1924da376178a5fc3f442e6.tar.bz2
dexon-0x-contracts-f06541ec94c2f3b8d1924da376178a5fc3f442e6.tar.lz
dexon-0x-contracts-f06541ec94c2f3b8d1924da376178a5fc3f442e6.tar.xz
dexon-0x-contracts-f06541ec94c2f3b8d1924da376178a5fc3f442e6.tar.zst
dexon-0x-contracts-f06541ec94c2f3b8d1924da376178a5fc3f442e6.zip
fix: animation component typing
Diffstat (limited to 'packages/instant')
-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};