@wufengteam/inputs
Version:
平台提供的右侧属性编辑器,需要在主工程中注册
20 lines (19 loc) • 502 B
TypeScript
import type { FC } from 'react';
import type { Rule } from 'antd/lib/form/';
interface IProps {
name: string;
label: string;
options: string[] | number[] | {
label: string;
value: string;
disabled?: boolean;
}[];
rules?: Rule[];
defaultValue?: any;
optionType?: 'default' | 'button';
size?: 'large' | 'middle' | 'small';
buttonStyle?: 'outline' | 'solid';
dependencies?: string[];
}
declare const Radio: FC<IProps>;
export default Radio;