import React from 'react';
import If from '../If';
import { CheckedRadio, Radio } from './styles';
const RadioButton = ({ id, accessibility, radioButtonColor, checkedRadioButtonColor, size = 20, internalSize = 10, checked = false, onPress = () => { }, }) => (<Radio id={id || accessibility} accessibility={accessibility} onPress={onPress} radioButtonColor={radioButtonColor} size={size}>
    <If condition={checked}>
      <CheckedRadio checkedRadioButtonColor={checkedRadioButtonColor} internalSize={internalSize}/>
    </If>
  </Radio>);
export default RadioButton;
//# sourceMappingURL=index.js.map