From e2607980eb2714cfacf75283db272706dcbc0c8c Mon Sep 17 00:00:00 2001
From: August Skare <post@augustskare.no>
Date: Mon, 19 Nov 2018 09:57:18 +0100
Subject: type function call for Container in Animation class

---
 packages/dev-tools-pages/ts/components/Animations/index.tsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'packages/dev-tools-pages/ts/components/Animations/index.tsx')

diff --git a/packages/dev-tools-pages/ts/components/Animations/index.tsx b/packages/dev-tools-pages/ts/components/Animations/index.tsx
index da3e78193..7f7b36c21 100644
--- a/packages/dev-tools-pages/ts/components/Animations/index.tsx
+++ b/packages/dev-tools-pages/ts/components/Animations/index.tsx
@@ -69,9 +69,12 @@ class BaseAnimation extends React.PureComponent<AnimationProps, AnimationState>
     };
 }
 
-const Container = styled.div`
+const Container =
+    styled.div <
+    AnimationProps >
+    `
     width: 100%;
-    height: ${(props: { height: number }) => props.height}px;
+    height: ${props => props.height}px;
     position: absolute;
     top: 40%;
     left: 0;
-- 
cgit v1.2.3

