diff options
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Intro.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/Intro.tsx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/packages/dev-tools-pages/ts/components/Intro.tsx b/packages/dev-tools-pages/ts/components/Intro.tsx index ecc926e3c..54b14f237 100644 --- a/packages/dev-tools-pages/ts/components/Intro.tsx +++ b/packages/dev-tools-pages/ts/components/Intro.tsx @@ -44,13 +44,8 @@ const StyledIntroAside = styled.div` `}; `; -interface IntroProps { - children?: React.ReactNode; -} - interface IntroLeadProps { title: string; - children?: React.ReactNode; } const IntroLead: React.StatelessComponent<IntroLeadProps> = props => ( @@ -60,13 +55,13 @@ const IntroLead: React.StatelessComponent<IntroLeadProps> = props => ( </StyledIntroLead> ); -const IntroAside: React.StatelessComponent<IntroProps> = props => ( +const IntroAside: React.StatelessComponent<{}> = props => ( <Breakout> <StyledIntroAside>{props.children}</StyledIntroAside> </Breakout> ); -const Intro: React.StatelessComponent<IntroProps> = props => ( +const Intro: React.StatelessComponent<{}> = props => ( <Container wide={true}> <Main>{props.children}</Main> </Container> |