import * as React from 'react'; declare type Props = { /** * Function to execute on selection change. */ onValueChange: (value: string) => void; /** * Value of the currently selected radio button. */ value: string; /** * React elements containing radio buttons. */ children: React.ReactNode; }; export declare type RadioButtonContextType = { value: string; onValueChange: (item: string) => void; }; export declare const RadioButtonContext: React.Context; /** * Radio button group allows to control a group of radio buttons. * *
*
* *
Android
*
*
* *
iOS
*
*
* * ## Usage * ```js * import * as React from 'react'; * import { View } from 'react-native'; * import { RadioButton, Text } from 'react-native-paper'; * * const MyComponent = () => { * const [value, setValue] = React.useState('first'); * * return ( * setValue(newValue)} value={value}> * * First * * * * Second * * * * ); * }; * * export default MyComponent; *``` */ declare const RadioButtonGroup: { ({ value, onValueChange, children }: Props): JSX.Element; displayName: string; }; export default RadioButtonGroup; export { RadioButtonGroup };