From 689a8b8e37464896cf264abebfe7d785bdd77327 Mon Sep 17 00:00:00 2001 From: George Lima Date: Mon, 21 Jan 2019 13:28:35 -0300 Subject: [PATCH] feat(divider): add margin-vertical props in Divider --- app/components/divider.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/components/divider.js b/app/components/divider.js index 62e9f50..7d00944 100644 --- a/app/components/divider.js +++ b/app/components/divider.js @@ -6,4 +6,6 @@ export const Divider = styled.div` height: 1px; background-color: ${props => props.color || props.theme.colors.text}; opacity: ${props => props.opacity || 1}; + margin-bottom: ${props => props.marginBottom || 0}; + margin-top: ${props => props.marginTop || 0}; `;