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

24 lines
651 B
TypeScript
Raw Permalink Normal View History

import type { FC } from "react";
import type { BasicSelectProps } from "../Basic";
/**
*
*/
export interface DictionarySelectProps extends Omit<BasicSelectProps, "data" | "nameKey" | "idKey"> {
/** appKey默认 DICTIONARY_APP_KEY_ENUM.DEFAULT0bb989ecada5470c87635018ece9f327 */
appKey?: string;
/** 要获取的字典 */
dictValue: string;
/** 树形数据 label 字段,默认 dictLabel */
nameKey?: string;
/** 树形数据 value 字段,默认 dictValue */
idKey?: string;
}
/**
*
*/
declare const DictionarySelect: FC<DictionarySelectProps>;
export default DictionarySelect;