Skip to content

Commit

Permalink
refactor(ExampleSection): restore header style
Browse files Browse the repository at this point in the history
  • Loading branch information
levithomason committed Sep 28, 2016
1 parent 72bf71d commit 17cb101
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/app/Components/ComponentDoc/ExampleSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import React, { PropTypes } from 'react'
import { Grid, Header } from 'src'

const sectionStyle = { background: '#fff', boxShadow: '0 2px 2px rgba(0, 0, 0, 0.1)' }
const headerStyle = { marginBottom: '1.5em' }

const ExampleSection = ({ title, children }) => (
<Grid padded style={sectionStyle}>
<Grid.Column>
<Header as='h2'>
<Header as='h2' style={headerStyle}>
{title}
</Header>
{children}
Expand Down

0 comments on commit 17cb101

Please sign in to comment.