Skip to content

Commit

Permalink
Renamed style to wrapperStyle in uniforms-antd.
Browse files Browse the repository at this point in the history
  • Loading branch information
webpn authored and radekmie committed Apr 25, 2018
1 parent 1c96671 commit d9f4d59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/uniforms-antd/src/wrapField.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export default function wrapField ({
labelCol,
required,
showInlineError,
style,
wrapperCol
wrapperCol,
wrapperStyle
}, children) {
const labelNode = !!label && (
<span>
Expand All @@ -40,7 +40,7 @@ export default function wrapField ({
label={labelNode}
labelCol={labelCol}
required={required}
style={style || {marginBottom: '12px'}}
style={wrapperStyle || {marginBottom: '12px'}}
validateStatus={error ? 'error' : undefined}
wrapperCol={wrapperCol}
>
Expand Down

0 comments on commit d9f4d59

Please sign in to comment.