diff options
author | August Skare <post@augustskare.no> | 2018-10-22 19:24:43 +0800 |
---|---|---|
committer | August Skare <post@augustskare.no> | 2018-10-22 19:27:49 +0800 |
commit | 00afb2440dfe41f19c40030de60ffd274a782a04 (patch) | |
tree | a7eb9abaa2b1769ba33e79ff50b4cee89335d2e4 /packages/dev-tools-pages/ts/components/Content.tsx | |
parent | 8cf720986eb464a39e634ca59c4c3b20b3cd368d (diff) | |
download | dexon-sol-tools-00afb2440dfe41f19c40030de60ffd274a782a04.tar.gz dexon-sol-tools-00afb2440dfe41f19c40030de60ffd274a782a04.tar.zst dexon-sol-tools-00afb2440dfe41f19c40030de60ffd274a782a04.zip |
remove contentBlock from content component
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Content.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/Content.tsx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/packages/dev-tools-pages/ts/components/Content.tsx b/packages/dev-tools-pages/ts/components/Content.tsx index 6c0270dbc..506f94fab 100644 --- a/packages/dev-tools-pages/ts/components/Content.tsx +++ b/packages/dev-tools-pages/ts/components/Content.tsx @@ -21,8 +21,6 @@ const StyledMain = `; interface MainProps { - title?: string; - subtitle?: string; dark?: boolean; children: React.ReactNode; } @@ -30,13 +28,7 @@ interface MainProps { function Main(props: MainProps) { return ( <StyledMain dark={props.dark}> - <Container> - <ContentBlock main title={props.title || 'Get started'}> - {props.subtitle ? <Beta as="p">{props.subtitle}</Beta> : null} - </ContentBlock> - - {props.children} - </Container> + <Container>{props.children}</Container> </StyledMain> ); } |