diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-22 03:12:44 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-22 03:12:44 +0800 |
commit | 5edfec68cf19f50977cfb8390528b5601a920936 (patch) | |
tree | 62aa738f9d3f9bced2b7bad7b603842fba2dea9c /packages/website/ts/components/ui/island.tsx | |
parent | eb494f78fa04bb4e6eece27a810e17e665d3a31e (diff) | |
download | dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar.gz dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar.bz2 dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar.lz dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar.xz dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.tar.zst dexon-sol-tools-5edfec68cf19f50977cfb8390528b5601a920936.zip |
Fix linting
Diffstat (limited to 'packages/website/ts/components/ui/island.tsx')
-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 f157e3052..4bb4741b3 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, borderRadius, ...rest }) => ( - <Component {...rest} /> +const PlainIsland: React.StatelessComponent<IslandProps> = ({ Component, style, className }) => ( + <Component style={style} className={className} /> ); export const Island = styled(PlainIsland)` |