Files
copilot-toolbox-template-121/node_modules/@ant-design/pro-form/lib/components/Text/index.d.ts
2026-01-16 02:20:32 +00:00

22 lines
785 B
TypeScript

import { PopoverProps, type InputProps } from 'antd';
import type { InputRef, PasswordProps } from 'antd/lib/input';
import React from 'react';
import type { ProFormFieldItemProps } from '../../typing';
/**
* 文本组件
*
* @param
*/
declare const ProFormText: React.FC<ProFormFieldItemProps<InputProps, InputRef>>;
export type PasswordStatus = 'ok' | 'pass' | 'poor' | undefined;
export type PassWordStrengthProps = {
statusRender?: (value?: string) => React.ReactNode;
popoverProps?: PopoverProps;
strengthText?: React.ReactNode;
};
declare const Password: React.FC<ProFormFieldItemProps<PasswordProps & PassWordStrengthProps, InputRef>>;
declare const WrappedProFormText: typeof ProFormText & {
Password: typeof Password;
};
export default WrappedProFormText;