1 | import * as React from 'react';
|
2 | import type { InputProps, InputRef } from './Input';
|
3 | type VisibilityToggle = {
|
4 | visible?: boolean;
|
5 | onVisibleChange?: (visible: boolean) => void;
|
6 | };
|
7 | export interface PasswordProps extends InputProps {
|
8 | readonly inputPrefixCls?: string;
|
9 | readonly action?: string;
|
10 | visibilityToggle?: boolean | VisibilityToggle;
|
11 | iconRender?: (visible: boolean) => React.ReactNode;
|
12 | }
|
13 | declare const Password: React.ForwardRefExoticComponent<PasswordProps & React.RefAttributes<InputRef>>;
|
14 | export default Password;
|