UNPKG

ygd

Version:

An enterprise-class UI design language and React-based implementation

23 lines (22 loc) 627 B
import * as React from 'react'; import { InputProps } from './Input'; export interface PasswordProps extends InputProps { readonly inputPrefixCls?: string; readonly action: string; visibilityToggle?: boolean; } export interface PasswordState { visible: boolean; } export default class Password extends React.Component<PasswordProps, PasswordState> { static defaultProps: { inputPrefixCls: string; prefixCls: string; action: string; visibilityToggle: boolean; }; state: PasswordState; onChange: () => void; getIcon(): JSX.Element; render(): JSX.Element; }