@wufengteam/inputs
Version:
平台提供的右侧属性编辑器,需要在主工程中注册
21 lines (20 loc) • 530 B
TypeScript
import type { FC } from 'react';
import type { Rule } from 'antd/lib/form';
import type { SizeType } from 'antd/lib/config-provider/SizeContext';
interface SelectOptionsItem {
label: string;
value: string;
}
interface IProps {
name: string;
label: string;
rules?: Rule[];
placeholder?: string;
options: SelectOptionsItem[];
defaultValue?: string;
dependencies?: string[];
dependenciesValues?: Record<string, any>;
size?: SizeType;
}
declare const Test: FC<IProps>;
export default Test;