aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui/island.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/components/ui/island.tsx')
-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 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)`