office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
25 lines (24 loc) • 832 B
TypeScript
/// <reference types="react" />
import { IChoiceGroupProps } from './ChoiceGroup.types';
import { BaseComponent } from '../../Utilities';
export interface IChoiceGroupState {
keyChecked: string | number;
/** Is true when the control has focus. */
keyFocused?: string | number;
}
export declare class ChoiceGroupBase extends BaseComponent<IChoiceGroupProps, IChoiceGroupState> {
static defaultProps: IChoiceGroupProps;
private _id;
private _labelId;
private _inputElement;
private focusedVars;
private changedVars;
constructor(props: IChoiceGroupProps);
componentWillReceiveProps(newProps: IChoiceGroupProps): void;
render(): JSX.Element;
focus(): void;
private _onFocus;
private _onBlur;
private _onChange;
private _getKeyChecked(props);
}