From b4efad3c654ba95e7dde1cf33d06b28d8f0c23a2 Mon Sep 17 00:00:00 2001 From: Rafael Lincoln Date: Tue, 2 Jan 2018 20:48:31 -0200 Subject: [PATCH] Add children to RadioButtonLabel --- lib/SimpleRadioButton.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/SimpleRadioButton.js b/lib/SimpleRadioButton.js index ebc0fd2..60d1ca3 100644 --- a/lib/SimpleRadioButton.js +++ b/lib/SimpleRadioButton.js @@ -274,7 +274,10 @@ export class RadioButtonLabel extends React.Component { !this.props.labelHorizontal && Style.labelVertical, {color: this.props.labelColor}, this.props.labelStyle - ]}>{this.props.obj.label} + ]}> + {this.props.children} + {this.props.obj.label} + )