2018-12-20 06:10:03 -08:00
|
|
|
// @flow
|
|
|
|
import styled from 'styled-components';
|
|
|
|
|
|
|
|
export const Divider = styled.div`
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background-color: ${props => props.color || props.theme.colors.text};
|
|
|
|
opacity: ${props => props.opacity || 1};
|
2019-01-21 08:28:35 -08:00
|
|
|
margin-bottom: ${props => props.marginBottom || 0};
|
|
|
|
margin-top: ${props => props.marginTop || 0};
|
2018-12-20 06:10:03 -08:00
|
|
|
`;
|