aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-22 04:26:33 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-22 04:26:33 +0800
commit685756f9d584a93297a2d0b2593ff36945bf121b (patch)
treef84ab45fae8e349aa4bf75f8390ee92ea5343e19
parent535bb364b6fd7075f111212b5844de9a432d7a52 (diff)
downloaddexon-sol-tools-685756f9d584a93297a2d0b2593ff36945bf121b.tar
dexon-sol-tools-685756f9d584a93297a2d0b2593ff36945bf121b.tar.gz
dexon-sol-tools-685756f9d584a93297a2d0b2593ff36945bf121b.tar.bz2
dexon-sol-tools-685756f9d584a93297a2d0b2593ff36945bf121b.tar.lz
dexon-sol-tools-685756f9d584a93297a2d0b2593ff36945bf121b.tar.xz
dexon-sol-tools-685756f9d584a93297a2d0b2593ff36945bf121b.tar.zst
dexon-sol-tools-685756f9d584a93297a2d0b2593ff36945bf121b.zip
Fix Island component
-rw-r--r--packages/website/ts/components/ui/island.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/ui/island.tsx b/packages/website/ts/components/ui/island.tsx
index 4bb4741b3..c8abfb7e0 100644
--- a/packages/website/ts/components/ui/island.tsx
+++ b/packages/website/ts/components/ui/island.tsx
@@ -9,8 +9,8 @@ export interface IslandProps {
borderRadius?: string;
}
-const PlainIsland: React.StatelessComponent<IslandProps> = ({ Component, style, className }) => (
- <Component style={style} className={className} />
+const PlainIsland: React.StatelessComponent<IslandProps> = ({ Component, style, className, children }) => (
+ <Component style={style} className={className} children={children} />
);
export const Island = styled(PlainIsland)`