diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-20 04:46:31 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-20 04:46:31 +0800 |
commit | f06541ec94c2f3b8d1924da376178a5fc3f442e6 (patch) | |
tree | 9b6920c102130458e17e95121fc7b749e84f6ee8 /packages/instant/src/components | |
parent | d5105b5c9f74a4f52e4952b845a37692bb824fd4 (diff) | |
download | dexon-0x-contracts-f06541ec94c2f3b8d1924da376178a5fc3f442e6.tar.gz dexon-0x-contracts-f06541ec94c2f3b8d1924da376178a5fc3f442e6.tar.zst dexon-0x-contracts-f06541ec94c2f3b8d1924da376178a5fc3f442e6.zip |
fix: animation component typing
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r-- | packages/instant/src/components/animations/slide_animations.tsx | 5 |
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}; |