From 339ec3e8ebac25fe7ee6eb26b89bfc9b9e00db26 Mon Sep 17 00:00:00 2001 From: August Skare Date: Tue, 20 Nov 2018 15:18:09 +0100 Subject: uniq export names for animations --- packages/dev-tools-pages/ts/components/animations/compiler/index.tsx | 2 +- packages/dev-tools-pages/ts/components/animations/cov/index.tsx | 4 ++-- packages/dev-tools-pages/ts/components/animations/profiler/index.tsx | 4 ++-- packages/dev-tools-pages/ts/components/animations/trace/index.tsx | 4 ++-- packages/dev-tools-pages/ts/pages/compiler.tsx | 4 ++-- packages/dev-tools-pages/ts/pages/cov.tsx | 4 ++-- packages/dev-tools-pages/ts/pages/profiler.tsx | 4 ++-- packages/dev-tools-pages/ts/pages/trace.tsx | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) (limited to 'packages') diff --git a/packages/dev-tools-pages/ts/components/animations/compiler/index.tsx b/packages/dev-tools-pages/ts/components/animations/compiler/index.tsx index db93ff8a4..ba98f8da3 100644 --- a/packages/dev-tools-pages/ts/components/animations/compiler/index.tsx +++ b/packages/dev-tools-pages/ts/components/animations/compiler/index.tsx @@ -8,4 +8,4 @@ const CompilerAnimation: React.StatelessComponent<{}> = () => ( ); -export { CompilerAnimation as Animation }; +export { CompilerAnimation }; diff --git a/packages/dev-tools-pages/ts/components/animations/cov/index.tsx b/packages/dev-tools-pages/ts/components/animations/cov/index.tsx index 445824717..bd872cc85 100644 --- a/packages/dev-tools-pages/ts/components/animations/cov/index.tsx +++ b/packages/dev-tools-pages/ts/components/animations/cov/index.tsx @@ -4,8 +4,8 @@ import { BaseAnimation } from '../index'; import * as animationData from './data.json'; -const AnimationCov: React.StatelessComponent<{}> = () => ( +const CovAnimation: React.StatelessComponent<{}> = () => ( ); -export { AnimationCov as Animation }; +export { CovAnimation }; 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 73a4e9ad6..a2848b762 100644 --- a/packages/dev-tools-pages/ts/components/animations/profiler/index.tsx +++ b/packages/dev-tools-pages/ts/components/animations/profiler/index.tsx @@ -4,8 +4,8 @@ import { BaseAnimation } from '../index'; import * as animationData from './data.json'; -const AnimationProfiler: React.StatelessComponent<{}> = () => ( +const ProfilerAnimation: React.StatelessComponent<{}> = () => ( ); -export { AnimationProfiler as Animation }; +export { ProfilerAnimation }; 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 10a78ccb7..2009c3cec 100644 --- a/packages/dev-tools-pages/ts/components/animations/trace/index.tsx +++ b/packages/dev-tools-pages/ts/components/animations/trace/index.tsx @@ -4,8 +4,8 @@ import { BaseAnimation } from '../index'; import * as animationData from './data.json'; -const AnimationTrace: React.StatelessComponent<{}> = () => ( +const TraceAnimation: React.StatelessComponent<{}> = () => ( ); -export { AnimationTrace as Animation }; +export { TraceAnimation }; diff --git a/packages/dev-tools-pages/ts/pages/compiler.tsx b/packages/dev-tools-pages/ts/pages/compiler.tsx index 912589b51..93a667562 100644 --- a/packages/dev-tools-pages/ts/pages/compiler.tsx +++ b/packages/dev-tools-pages/ts/pages/compiler.tsx @@ -18,8 +18,8 @@ const Animation = Loadable({ loader: () => System.import(/* webpackChunkName: 'compiler-animation' */ 'ts/components/animations/compiler'), loading: () =>
, delay: 1000, - render(loadable: { Animation: any }): React.ReactNode { - const Component = loadable.Animation; + render(loadable: { CompilerAnimation: any }): React.ReactNode { + const Component = loadable.CompilerAnimation; return ; }, }); diff --git a/packages/dev-tools-pages/ts/pages/cov.tsx b/packages/dev-tools-pages/ts/pages/cov.tsx index ebaf5bfb2..ff1ced27d 100644 --- a/packages/dev-tools-pages/ts/pages/cov.tsx +++ b/packages/dev-tools-pages/ts/pages/cov.tsx @@ -19,8 +19,8 @@ const Animation = Loadable({ loader: () => System.import(/* webpackChunkName: 'cov-animation' */ 'ts/components/animations/cov'), loading: () =>
, delay: 1000, - render(loadable: { Animation: any }): React.ReactNode { - const Component = loadable.Animation; + render(loadable: { CovAnimation: any }): React.ReactNode { + const Component = loadable.CovAnimation; return ; }, }); diff --git a/packages/dev-tools-pages/ts/pages/profiler.tsx b/packages/dev-tools-pages/ts/pages/profiler.tsx index 040b439e8..860e2c25e 100644 --- a/packages/dev-tools-pages/ts/pages/profiler.tsx +++ b/packages/dev-tools-pages/ts/pages/profiler.tsx @@ -19,8 +19,8 @@ const Animation = Loadable({ loader: () => System.import(/* webpackChunkName: 'profiler-animation' */ 'ts/components/animations/profiler'), loading: () =>
, delay: 1000, - render(loadable: { Animation: any }): React.ReactNode { - const Component = loadable.Animation; + render(loadable: { ProfilerAnimation: any }): React.ReactNode { + const Component = loadable.ProfilerAnimation; return ; }, }); diff --git a/packages/dev-tools-pages/ts/pages/trace.tsx b/packages/dev-tools-pages/ts/pages/trace.tsx index acb8fb841..a25d2eff8 100644 --- a/packages/dev-tools-pages/ts/pages/trace.tsx +++ b/packages/dev-tools-pages/ts/pages/trace.tsx @@ -19,8 +19,8 @@ const Animation = Loadable({ loader: () => System.import(/* webpackChunkName: 'trace-animation' */ 'ts/components/animations/trace'), loading: () =>
, delay: 1000, - render(loadable: { Animation: any }): React.ReactNode { - const Component = loadable.Animation; + render(loadable: { TraceAnimation: any }): React.ReactNode { + const Component = loadable.TraceAnimation; return ; }, }); -- cgit v1.2.3