import { forwardRef, memo, useContext, useMemo } from 'react';
import RadioButtonAndroid from './RadioButtonAndroid';
import RadioButtonIOS from './RadioButtonIOS';
import { handlePress, isChecked } from './utils';
import { RadioButtonContext } from './RadioButtonGroup';
import { Platform } from 'react-native';
export type Props = {
/**
* Value of the radio button
*/
value: string;
/**
* Status of radio button.
*/
status?: 'checked' | 'unchecked';
/**
* Whether radio is disabled.
*/
disabled?: boolean;
/**
* Function to execute on press.
*/
onPress?: () => void;
/**
* Custom color for unchecked radio.
*/
uncheckedColor?: string;
/**
* Custom color for radio.
*/
color?: string;
/**
* testID to be used on tests.
*/
testID?: string;
};
/**
* Radio buttons allow the selection a single option from a set.
*
*