PromoCursed/node_modules/antd/lib/_util/statusUtils.d.ts
2024-08-20 23:25:37 +04:00

7 lines
476 B
TypeScript

import type { ValidateStatus } from '../form/FormItem';
declare const InputStatuses: readonly ["warning", "error", ""];
export type InputStatus = (typeof InputStatuses)[number];
export declare function getStatusClassNames(prefixCls: string, status?: ValidateStatus, hasFeedback?: boolean): string;
export declare const getMergedStatus: (contextStatus?: ValidateStatus, customStatus?: InputStatus) => "" | "error" | "warning" | "success" | "validating" | undefined;
export {};