UNPKG

react-native-ui-lib

Version:

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua)

15 lines (14 loc) 559 B
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 type RadioGroupContextPropTypes = RadioGroupContextProps; declare const _default: React.Context<RadioGroupContextProps>; export default _default;