UNPKG

react-native-ui-lib

Version:

[![Build Status](https://travis-ci.org/wix/react-native-ui-lib.svg?branch=master)](https://travis-ci.org/wix/react-native-ui-lib) [![npm](https://img.shields.io/npm/v/react-native-ui-lib.svg)](https://www.npmjs.com/package/react-native-ui-lib) [![NPM Down

26 lines (25 loc) 689 B
/// <reference types="react" /> import { BaseComponent } from "../../commons"; declare type RadioGroupProps = { value?: string; onValueChange?: (...args: any[]) => any; }; /** * Wrap a group of Radio Buttons to automatically control their selection */ declare class RadioGroup extends BaseComponent<RadioGroupProps, {}> { static displayName: string; static childContextTypes: { value: any; onValueChange: any; }; constructor(props: any); getChildContext(): { value: any; onValueChange: (value: any) => void; }; onValueChange: (value: any) => void; state: {}; render(): JSX.Element; } export default RadioGroup;