The Checkbox component draws an element for selecting or deselecting options.
Basic example:
<View sendFocusToInput direction="row" align="center"> <Checkbox name="GroupName" value="Sim" checked={this.state.sendPromo} onChange={({ value, checked }) => { this.setState({ sendPromo: checked }) }} /> <Text marginLeft="nano">Contact by email</Text></View> Copy
<View sendFocusToInput direction="row" align="center"> <Checkbox name="GroupName" value="Sim" checked={this.state.sendPromo} onChange={({ value, checked }) => { this.setState({ sendPromo: checked }) }} /> <Text marginLeft="nano">Contact by email</Text></View>
The Checkbox component draws an element for selecting or deselecting options.
Basic example:
Has No Children