aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-19 06:49:09 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-19 06:49:09 +0800
commitd69b3a02444856ec3062ca1d9dc4bd11c7d16f5d (patch)
tree4e0e5272344a8ced4985b315fa7f02e4f841b647 /packages/website/ts/@next/components
parentfa5acd07b0ebfd785b155c50affcdfd27b527e98 (diff)
downloaddexon-sol-tools-d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d.tar.gz
dexon-sol-tools-d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d.tar.zst
dexon-sol-tools-d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d.zip
Type definition so TS knows it has defaultProps
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r--packages/website/ts/@next/components/hero.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/hero.tsx b/packages/website/ts/@next/components/hero.tsx
index b7157d7a6..4c8874d3e 100644
--- a/packages/website/ts/@next/components/hero.tsx
+++ b/packages/website/ts/@next/components/hero.tsx
@@ -129,7 +129,7 @@ const ButtonWrap = styled.div`
}
`;
-export const Hero = (props: Props) => (
+export const Hero: React.StatelessComponent<Props> = (props: Props) => (
<Section>
<Wrap isCentered={!props.figure} isFullWidth={props.isFullWidth} isCenteredMobile={props.isCenteredMobile}>
{props.figure && <Content width="400px">{props.figure}</Content>}