Created
April 11, 2017 16:21
-
-
Save aaronmcadam/ebfd4dce5b3fe824791da36c03c1b51f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import styled from 'styled-components'; | |
import { Row } from 'react-styled-flexboxgrid'; | |
import { base as baseTheme } from '../../cl-themes/src'; | |
const PanelHeader = styled(Row).attrs({ | |
between: 'xs', | |
middle: 'xs', | |
})` | |
background-color: ${(props) => props.theme.palette.panel}; | |
border-bottom: ${(props) => `1px solid ${props.theme.palette.border}`}; | |
`; | |
PanelHeader.defaultProps = { | |
theme: baseTheme, | |
}; | |
export default PanelHeader; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment