/* @flow */ import React, { Component } from 'react'; import { View, StyleSheet, } from 'react-native'; import { Paragraph, RadioButton, Colors, } from 'react-native-paper'; export default class RadioButtonExample extends Component { static title = 'Radio button'; state = { checkedNormal: true, checkedCustom: true, }; render() { return ( Normal this.setState(state => ({ checkedNormal: !state.checkedNormal }))} /> Custom this.setState(state => ({ checkedCustom: !state.checkedCustom }))} /> Checked (Disabled) Unchecked (Disabled) ); } } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: Colors.white, padding: 8, }, row: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', padding: 8, }, });