UNPKG

@aimake/nanod

Version:

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

15 lines (14 loc) 611 B
import * as React from 'react'; import * as PropTypes from 'prop-types'; import { RadioChangeEvent } from './interface'; import { AbstractCheckboxProps } from '../checkbox/Checkbox'; import { ConfigConsumerProps } from '../config-provider'; export declare type RadioButtonProps = AbstractCheckboxProps<RadioChangeEvent>; export default class RadioButton extends React.Component<RadioButtonProps, any> { static contextTypes: { radioGroup: PropTypes.Requireable<any>; }; context: any; renderRadioButton: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }