From dc20efb8e492425d4da1725e60273d6f0b03af79 Mon Sep 17 00:00:00 2001 From: Furkan Date: Fri, 9 Jun 2017 15:09:51 +0300 Subject: [PATCH] Create Fieldset.js --- src/Fieldset.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Fieldset.js b/src/Fieldset.js index c07e1ae..ce27797 100644 --- a/src/Fieldset.js +++ b/src/Fieldset.js @@ -19,7 +19,10 @@ const FieldsetLabel = props => { props.children } props.theme.Fieldset.borderBottomColor }; borderBottomWidth: ${props => props.last ? 0 : props.theme.Fieldset.borderBottomWidth }; - padding: ${props => props.theme.Fieldset.padding }; + paddingTop : ${props => props.theme.Fieldset.paddingTop }; + paddingRight : ${props => props.theme.Fieldset.paddingRight }; + paddingBottom : ${props => props.theme.Fieldset.paddingBottom }; + paddingLeft : ${props => props.theme.Fieldset.paddingLeft }; ` FieldsetWrapper.defaultProps = {