Skip to content

Instantly share code, notes, and snippets.

@aaronmcadam
Last active April 17, 2017 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronmcadam/52b5d1f93d472ce5f33738c8f52b76ed to your computer and use it in GitHub Desktop.
Save aaronmcadam/52b5d1f93d472ce5f33738c8f52b76ed to your computer and use it in GitHub Desktop.
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