///
import * as React from 'react';
import PropTypes from 'prop-types';
import { RadioGroupProps, RadioGroupState, RadioChangeEvent } from './interface';
export default class RadioGroup extends React.Component {
static defaultProps: {
disabled: boolean;
};
static childContextTypes: {
radioGroup: PropTypes.Requireable;
};
constructor(props: RadioGroupProps);
getChildContext(): {
radioGroup: {
onChange: (ev: RadioChangeEvent) => void;
value: any;
disabled: boolean | undefined;
name: string | undefined;
};
};
componentWillReceiveProps(nextProps: RadioGroupProps): void;
shouldComponentUpdate(nextProps: RadioGroupProps, nextState: RadioGroupState): boolean;
onRadioChange: (ev: RadioChangeEvent) => void;
render(): JSX.Element;
}