From d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Tue, 18 Dec 2018 14:49:09 -0800 Subject: Type definition so TS knows it has defaultProps --- packages/website/ts/@next/components/hero.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/website/ts/@next/components/hero.tsx') 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.figure && {props.figure}} -- cgit