diff options
Diffstat (limited to 'packages/forms/src/wrapper')
-rw-r--r-- | packages/forms/src/wrapper/index.tsx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/packages/forms/src/wrapper/index.tsx b/packages/forms/src/wrapper/index.tsx index cf179bc5e..3ae551e2c 100644 --- a/packages/forms/src/wrapper/index.tsx +++ b/packages/forms/src/wrapper/index.tsx | |||
@@ -12,18 +12,13 @@ interface IProps extends IWithStyle { | |||
12 | 12 | ||
13 | const styles = { | 13 | const styles = { |
14 | container: { | 14 | container: { |
15 | marginBottom: (props: IProps) => props.noMargin ? 0 : 20, | 15 | marginBottom: (props: IProps) => (props.noMargin ? 0 : 20), |
16 | }, | 16 | }, |
17 | }; | 17 | }; |
18 | 18 | ||
19 | class WrapperComponent extends Component<IProps> { | 19 | class WrapperComponent extends Component<IProps> { |
20 | render() { | 20 | render() { |
21 | const { | 21 | const { children, classes, className, identifier } = this.props; |
22 | children, | ||
23 | classes, | ||
24 | className, | ||
25 | identifier, | ||
26 | } = this.props; | ||
27 | 22 | ||
28 | return ( | 23 | return ( |
29 | <div | 24 | <div |