@vtex/admin-ui
Version:
> VTEX admin component library
19 lines (18 loc) • 816 B
TypeScript
import type { ReactNode } from 'react';
import React from 'react';
import type { AbstractInputPasswordProps } from '../AbstractInput';
import type { SystemComponentProps } from '../../types';
export declare const InputPassword: React.ForwardRefExoticComponent<InputPasswordProps & React.RefAttributes<HTMLInputElement>>;
export declare type InputPasswordOwnProps = Omit<AbstractInputPasswordProps, 'maxLength' | 'placeholder' | 'id' | 'type'>;
export interface InputPasswordProps extends SystemComponentProps<InputPasswordOwnProps> {
/** label text */
label: string;
/** unique id of the component */
id: string;
/** Input helper text */
helperText?: ReactNode;
/** Input char limit */
charLimit?: number;
/** Input error message */
criticalText?: string;
}