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) 659 B
/// <reference types="react" /> import { BaseComponent } from "../../commons"; declare type RadioButtonProps = { value: string; onValueChange?: (...args: any[]) => any; color?: string; size?: number; borderRadius?: number; }; /** * A Radio Button component, should be wrapped inside a RadioGroup */ declare class RadioButton extends BaseComponent<RadioButtonProps, {}> { static displayName: string; static contextTypes: { value: any; onValueChange: any; }; state: {}; generateStyles(): void; onPress: () => void; isSelected(): boolean; render(): JSX.Element; } export default RadioButton;