diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-22 04:26:33 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-22 04:26:33 +0800 |
commit | 685756f9d584a93297a2d0b2593ff36945bf121b (patch) | |
tree | f84ab45fae8e349aa4bf75f8390ee92ea5343e19 /packages/website/ts/components/ui | |
parent | 535bb364b6fd7075f111212b5844de9a432d7a52 (diff) | |
download | dexon-0x-contracts-685756f9d584a93297a2d0b2593ff36945bf121b.tar dexon-0x-contracts-685756f9d584a93297a2d0b2593ff36945bf121b.tar.gz dexon-0x-contracts-685756f9d584a93297a2d0b2593ff36945bf121b.tar.bz2 dexon-0x-contracts-685756f9d584a93297a2d0b2593ff36945bf121b.tar.lz dexon-0x-contracts-685756f9d584a93297a2d0b2593ff36945bf121b.tar.xz dexon-0x-contracts-685756f9d584a93297a2d0b2593ff36945bf121b.tar.zst dexon-0x-contracts-685756f9d584a93297a2d0b2593ff36945bf121b.zip |
Fix Island component
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r-- | packages/website/ts/components/ui/island.tsx | 4 |
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)` |