react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
15 lines (14 loc) • 567 B
TypeScript
import React from 'react';
export interface RadioGroupContextProps {
/**
* The identifier value of the radio button. must be different than other RadioButtons in the same group
*/
value?: string | number | boolean;
/**
* Invoked once when value changes, by selecting one of the radio buttons in the group
*/
onValueChange?: (value: string | number | boolean) => void;
}
export declare type RadioGroupContextPropTypes = RadioGroupContextProps;
declare const _default: React.Context<RadioGroupContextProps>;
export default _default;