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

24 lines
698 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import type { FC } from "react";
import type { BasicSelectTreeProps } from "../Basic";
/**
* 组件属性
*/
export interface DictionarySelectTreeProps extends Omit<BasicSelectTreeProps, "treeData" | "nameKey" | "idKey" | "childrenKey"> {
/** appKey默认 DICTIONARY_APP_KEY_ENUM.DEFAULT0bb989ecada5470c87635018ece9f327 */
appKey?: string;
/** 要获取的字典 */
dictValue: string;
/** 树形数据 label 字段,默认 dictLabel */
nameKey?: string;
/** 树形数据 value 字段,默认 dictValue */
idKey?: string;
}
/**
* 数据字典下拉树组件
*/
declare const DictionarySelectTree: FC<DictionarySelectTreeProps>;
export default DictionarySelectTree;