diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-19 06:49:09 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-19 06:49:09 +0800 |
commit | d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d (patch) | |
tree | 4e0e5272344a8ced4985b315fa7f02e4f841b647 /packages/website/ts | |
parent | fa5acd07b0ebfd785b155c50affcdfd27b527e98 (diff) | |
download | dexon-sol-tools-d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d.tar dexon-sol-tools-d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d.tar.gz dexon-sol-tools-d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d.tar.bz2 dexon-sol-tools-d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d.tar.lz dexon-sol-tools-d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d.tar.xz 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')
-rw-r--r-- | packages/website/ts/@next/components/hero.tsx | 2 |
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>} |