Last active
April 17, 2017 13:12
-
-
Save aaronmcadam/52b5d1f93d472ce5f33738c8f52b76ed to your computer and use it in GitHub Desktop.
This file contains 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 styled from 'styled-components'; | |
import { Col } from 'react-styled-flexboxgrid'; | |
import { base as baseTheme } from '../../cl-themes/src'; | |
// raises Warning: Unknown prop `theme` on <div> tag. Remove this prop from the element | |
const ListingPanel = styled(Col).attrs({ | |
xs: 6, | |
sm: 5, | |
lg: 3, | |
})` | |
border-right: ${(props) => `1px solid ${props.theme.palette.border}`}; | |
`; | |
ListingPanel.defaultProps = { | |
theme: baseTheme, | |
}; | |
export default ListingPanel; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment