aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-05-25 01:42:48 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-05-25 01:53:13 +0800
commitd057b77dc5585756f1df7fad03a415314bd9111b (patch)
tree4e5a501b5d956c07ea1ea46c6b52ee49eab454de /packages/website/ts/components/ui
parent27d637195db1afca183fec86edfa0204db7f383c (diff)
downloaddexon-0x-contracts-d057b77dc5585756f1df7fad03a415314bd9111b.tar.gz
dexon-0x-contracts-d057b77dc5585756f1df7fad03a415314bd9111b.tar.zst
dexon-0x-contracts-d057b77dc5585756f1df7fad03a415314bd9111b.zip
Address PR feedback
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r--packages/website/ts/components/ui/container.tsx2
-rw-r--r--packages/website/ts/components/ui/island.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/ui/container.tsx b/packages/website/ts/components/ui/container.tsx
index 7565dd1ae..07868608c 100644
--- a/packages/website/ts/components/ui/container.tsx
+++ b/packages/website/ts/components/ui/container.tsx
@@ -1,6 +1,6 @@
import * as React from 'react';
-interface ContainerProps {
+export interface ContainerProps {
marginTop?: string | number;
marginBottom?: string | number;
marginRight?: string | number;
diff --git a/packages/website/ts/components/ui/island.tsx b/packages/website/ts/components/ui/island.tsx
index da3602c3e..f5480c9c9 100644
--- a/packages/website/ts/components/ui/island.tsx
+++ b/packages/website/ts/components/ui/island.tsx
@@ -20,7 +20,7 @@ const defaultStyle: React.CSSProperties = {
};
export const Island: React.StatelessComponent<IslandProps> = (props: IslandProps) => (
- <props.Component style={{...defaultStyle, ...props.style}} className={props.className}>
+ <props.Component style={{ ...defaultStyle, ...props.style }} className={props.className}>
{props.children}
</props.Component>
);