@antdv/pro-field
Version:
原子信息组件,统一 ProForm、ProTable、ProList、Filter 等组件里面的字段定义。
25 lines (24 loc) • 889 B
TypeScript
import type { VueNode } from '@antdv/pro-utils';
import type { CSSProperties, FunctionalComponent } from 'vue';
interface StatusProps {
className?: string;
style?: CSSProperties;
children?: VueNode;
}
declare const Status: {
Success: FunctionalComponent<StatusProps>;
Error: FunctionalComponent<StatusProps>;
Processing: FunctionalComponent<StatusProps>;
Default: FunctionalComponent<StatusProps>;
Warning: FunctionalComponent<StatusProps>;
success: FunctionalComponent<StatusProps>;
error: FunctionalComponent<StatusProps>;
processing: FunctionalComponent<StatusProps>;
default: FunctionalComponent<StatusProps>;
warning: FunctionalComponent<StatusProps>;
};
export type ProFieldStatusType = keyof typeof Status;
export declare const ProFieldBadgeColor: FunctionalComponent<StatusProps & {
color: string;
}>;
export default Status;