UNPKG

@aimake/nanod

Version:

## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。

24 lines (23 loc) 833 B
import * as React from 'react'; import { RadioGroupProps, RadioGroupState, RadioChangeEvent } from './interface'; export default class RadioGroup extends React.Component<RadioGroupProps, RadioGroupState> { static defaultProps: { disabled: boolean; }; static childContextTypes: { radioGroup: any; }; 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; }