zy-react-library/components/Select/Basic/index.d.ts

24 lines
556 B
TypeScript
Raw Normal View History

2025-11-06 09:38:23 +08:00
import type { SelectProps } from "antd/es/select";
import type { FC } from "react";
/**
*
*/
export interface BasicSelectProps extends SelectProps {
/** 数据源 */
data: Record<string, any>[];
/** 数据 label 字段,默认 name */
nameKey?: string;
/** 数据 value 字段,默认 id */
idKey?: string;
/** 占位符 */
placeholder?: string;
}
/**
* 使使
*/
declare const BasicSelectTree: FC<BasicSelectProps>;
export default BasicSelectTree;