aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/globals.d.ts
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-30 19:05:08 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-30 19:05:08 +0800
commitfff4dd7e947f7f66e0854dea5d192c72b9e3d674 (patch)
tree64e8d3577ddb61f50df046d3ee9a5a735da6e815 /packages/website/ts/globals.d.ts
parentc2d958515009967a6802a06e47f454e12d15a7fe (diff)
downloaddexon-sol-tools-fff4dd7e947f7f66e0854dea5d192c72b9e3d674.tar
dexon-sol-tools-fff4dd7e947f7f66e0854dea5d192c72b9e3d674.tar.gz
dexon-sol-tools-fff4dd7e947f7f66e0854dea5d192c72b9e3d674.tar.bz2
dexon-sol-tools-fff4dd7e947f7f66e0854dea5d192c72b9e3d674.tar.lz
dexon-sol-tools-fff4dd7e947f7f66e0854dea5d192c72b9e3d674.tar.xz
dexon-sol-tools-fff4dd7e947f7f66e0854dea5d192c72b9e3d674.tar.zst
dexon-sol-tools-fff4dd7e947f7f66e0854dea5d192c72b9e3d674.zip
Export svgs as typed pure components
Diffstat (limited to 'packages/website/ts/globals.d.ts')
-rw-r--r--packages/website/ts/globals.d.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/website/ts/globals.d.ts b/packages/website/ts/globals.d.ts
index 097c8171e..cf23623a6 100644
--- a/packages/website/ts/globals.d.ts
+++ b/packages/website/ts/globals.d.ts
@@ -12,8 +12,10 @@ declare module '*.json' {
}
declare module '*.svg' {
- const svg: any;
- export default svg;
+ //const svg: any;
+ //export default svg;
+ import {PureComponent, SVGProps} from "react";
+ export default class extends PureComponent<SVGProps<SVGSVGElement>> {}
}
declare module 'web3-provider-engine/subproviders/filters';