aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Animations/Profiler/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Animations/Profiler/index.tsx')
-rw-r--r--packages/dev-tools-pages/ts/components/Animations/Profiler/index.tsx11
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/dev-tools-pages/ts/components/Animations/Profiler/index.tsx b/packages/dev-tools-pages/ts/components/Animations/Profiler/index.tsx
index e767a587f..73a4e9ad6 100644
--- a/packages/dev-tools-pages/ts/components/Animations/Profiler/index.tsx
+++ b/packages/dev-tools-pages/ts/components/Animations/Profiler/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 AnimationProfiler() {
- return <Animation animationData={animationData} width={1985} height={657} />;
-}
+const AnimationProfiler: React.StatelessComponent<{}> = () => (
+ <BaseAnimation animationData={animationData} width={1985} height={657} />
+);
-export default AnimationProfiler;
+export { AnimationProfiler as Animation };