UNPKG

reactnativecomponents

Version:
18 lines (17 loc) 592 B
import * as PropTypes from 'prop-types'; import AbstractFormComponent from '../Form/AbstractFormComponent'; import { RadioProps } from './Props'; /** * @author 田尘殇Sean(sean.snow@live.com) create at 2018/3/2 */ export declare class Radio extends AbstractFormComponent<RadioProps, any> { static contextTypes: { onChange: PropTypes.Requireable<(...args: any[]) => any>; labelPosition: PropTypes.Requireable<string>; checked: PropTypes.Requireable<any>; }; getValue(): any; isValid(): boolean; handlePress(): void; render(): JSX.Element; }