diff options
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Animations/Trace/index.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/Animations/Trace/index.tsx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/dev-tools-pages/ts/components/Animations/Trace/index.tsx b/packages/dev-tools-pages/ts/components/Animations/Trace/index.tsx index fa421a3bf..10a78ccb7 100644 --- a/packages/dev-tools-pages/ts/components/Animations/Trace/index.tsx +++ b/packages/dev-tools-pages/ts/components/Animations/Trace/index.tsx @@ -1,10 +1,11 @@ import * as React from 'react'; -import Animation from '../index'; +import { BaseAnimation } from '../index'; + import * as animationData from './data.json'; -function AnimationTrace() { - return <Animation animationData={animationData} width={2241} height={610} />; -} +const AnimationTrace: React.StatelessComponent<{}> = () => ( + <BaseAnimation animationData={animationData} width={2241} height={610} /> +); -export default AnimationTrace; +export { AnimationTrace as Animation }; |