@knockout-js/org
Version:
Knockout组织相关组件
27 lines (26 loc) • 638 B
TypeScript
import { AppDictItem } from "@knockout-js/api/ucenter";
import { TextProps } from "antd/es/typography/Text";
export interface DictionaryTextProps extends TextProps {
/**
* 值
*/
value?: string;
/**
* 字典dictCode
*/
dictCode: string;
/**
* 应用code
*/
appCode?: string;
/**
* 外部提供数据源
*/
dataSource?: AppDictItem[];
/**
* 默认使用code来匹配value
*/
valueKey?: "id" | "code";
}
declare const _default: (props: DictionaryTextProps) => import("react/jsx-runtime").JSX.Element;
export default _default;