UNPKG

@platformbuilders/react-native-ui

Version:
8 lines 635 B
import React from 'react'; import If from '../If'; import { Radio, CheckedRadio } from './styles'; const RadioButton = ({ id, accessibility, radioButtonColor, checkedRadioButtonColor, size = 18, internalSize = 13, checked = false, onPress = () => { }, }) => (React.createElement(Radio, { id: id, accessibility: accessibility, onPress: onPress, radioButtonColor: radioButtonColor, size: size }, React.createElement(If, { condition: checked }, React.createElement(CheckedRadio, { checkedRadioButtonColor: checkedRadioButtonColor, internalSize: internalSize })))); export default RadioButton; //# sourceMappingURL=index.js.map