Closed cnjon closed 8 years ago
... <GiftedForm.SeparatorWidget /> {this.state.isShowSwitch && ( <GiftedForm.SwitchWidget name="test" title="test" image={<IconIon name="lightbulb" />} /> )} <GiftedForm.SeparatorWidget /> ...
If this.state.isShowSwitch is false,will throw an exception!
Thank you @cnjon
If this.state.isShowSwitch is false,will throw an exception!