feat(divider): add margin-vertical props in Divider
This commit is contained in:
parent
ef6486fc78
commit
689a8b8e37
|
@ -6,4 +6,6 @@ export const Divider = styled.div`
|
||||||
height: 1px;
|
height: 1px;
|
||||||
background-color: ${props => props.color || props.theme.colors.text};
|
background-color: ${props => props.color || props.theme.colors.text};
|
||||||
opacity: ${props => props.opacity || 1};
|
opacity: ${props => props.opacity || 1};
|
||||||
|
margin-bottom: ${props => props.marginBottom || 0};
|
||||||
|
margin-top: ${props => props.marginTop || 0};
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in New Issue