Adds wide prop for full width sections

This commit is contained in:
Megan Pearson
2018-10-22 15:20:25 +02:00
parent f31f9eb24e
commit 614ca51cb1
2 changed files with 12 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ import styled from 'styled-components';
import { media, colors } from '../variables';
import { Alpha, Lead } from './Typography';
import Container from './Container';
import Code from './Code';
const Main = styled.div`
@@ -38,7 +39,7 @@ interface IntroProps {
function Intro(props: IntroProps) {
return (
<Breakout>
<Container wide>
<Main>
<Content>
<Title>{props.title}</Title>
@@ -48,7 +49,7 @@ function Intro(props: IntroProps) {
<Code>Function execute transaction Function execute transaction Function execute transaction</Code>
</Breakout>
</Main>
</Breakout>
</Container>
);
}