You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
635 B

import React from 'react';
import { Radio } from 'antd';
import { RadioGroupProps, RadioProps } from 'antd/lib/radio';
import { ProFormItemProps } from '../../interface';
export declare type ProFormRadioGroupProps = ProFormItemProps<RadioGroupProps> & {
layout?: 'horizontal' | 'vertical';
options?: Array<{
value: string;
label: React.ReactNode;
disable?: boolean;
} | string>;
};
declare const WrappedProFormRadio: React.ComponentType<ProFormItemProps<RadioProps>> & {
Group: React.ComponentType<ProFormRadioGroupProps>;
Button: typeof Radio.Button;
};
export default WrappedProFormRadio;