diff options
author | August Skare <post@augustskare.no> | 2018-11-20 22:18:09 +0800 |
---|---|---|
committer | August Skare <post@augustskare.no> | 2018-11-20 22:18:09 +0800 |
commit | 339ec3e8ebac25fe7ee6eb26b89bfc9b9e00db26 (patch) | |
tree | 121826cd49e78833991e20ee88ea88660bba1077 /packages/dev-tools-pages/ts | |
parent | b0c22a222e09ef8008a1ef7cf79e28b73961560a (diff) | |
download | dexon-sol-tools-339ec3e8ebac25fe7ee6eb26b89bfc9b9e00db26.tar dexon-sol-tools-339ec3e8ebac25fe7ee6eb26b89bfc9b9e00db26.tar.gz dexon-sol-tools-339ec3e8ebac25fe7ee6eb26b89bfc9b9e00db26.tar.bz2 dexon-sol-tools-339ec3e8ebac25fe7ee6eb26b89bfc9b9e00db26.tar.lz dexon-sol-tools-339ec3e8ebac25fe7ee6eb26b89bfc9b9e00db26.tar.xz dexon-sol-tools-339ec3e8ebac25fe7ee6eb26b89bfc9b9e00db26.tar.zst dexon-sol-tools-339ec3e8ebac25fe7ee6eb26b89bfc9b9e00db26.zip |
uniq export names for animations
Diffstat (limited to 'packages/dev-tools-pages/ts')
8 files changed, 15 insertions, 15 deletions
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<{}> = () => ( <BaseAnimation animationData={animationData} width={2150} height={700} /> ); -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<{}> = () => ( <BaseAnimation animationData={animationData} width={1981} height={660} /> ); -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<{}> = () => ( <BaseAnimation animationData={animationData} width={1985} height={657} /> ); -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<{}> = () => ( <BaseAnimation animationData={animationData} width={2241} height={610} /> ); -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: () => <div />, delay: 1000, - render(loadable: { Animation: any }): React.ReactNode { - const Component = loadable.Animation; + render(loadable: { CompilerAnimation: any }): React.ReactNode { + const Component = loadable.CompilerAnimation; return <Component />; }, }); 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: () => <div />, delay: 1000, - render(loadable: { Animation: any }): React.ReactNode { - const Component = loadable.Animation; + render(loadable: { CovAnimation: any }): React.ReactNode { + const Component = loadable.CovAnimation; return <Component />; }, }); 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: () => <div />, delay: 1000, - render(loadable: { Animation: any }): React.ReactNode { - const Component = loadable.Animation; + render(loadable: { ProfilerAnimation: any }): React.ReactNode { + const Component = loadable.ProfilerAnimation; return <Component />; }, }); 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: () => <div />, delay: 1000, - render(loadable: { Animation: any }): React.ReactNode { - const Component = loadable.Animation; + render(loadable: { TraceAnimation: any }): React.ReactNode { + const Component = loadable.TraceAnimation; return <Component />; }, }); |