rax-switch Renders a boolean input. Install $ npm install rax-switch --save Import import Switch from 'rax-switch'; Example import {createElement, Component, render} from 'rax';import View from 'rax-view';import Text from 'rax-text';import Switch from '../../../packages/rax-switch'; class App extends Component { state = { toggle: true, } render() { return ( <View> <Switch value={this.state.open} onValueChange={(value) => { this.setState({toggle: value}); }} /> <Text>{String(this.state.toggle)}</Text> </View> ); }} render(<App />);