@navinc/base-react-components
Version:
Nav's Pattern Library
12 lines (11 loc) • 775 B
TypeScript
/// <reference types="react" />
import Input from './input.js';
import { InferComponentProps } from './types.js';
declare type PasswordInputProps = {
isPasswordShown?: boolean;
passwordStrengthScore: number;
requiredPasswordScore: number;
} & Omit<InferComponentProps<typeof Input>, 'childrenBeforeErrors'>;
export declare const PasswordInput: ({ isPasswordShown, passwordStrengthScore, requiredPasswordScore, className, ...props }: PasswordInputProps) => JSX.Element;
declare const StyledPasswordInput: import("styled-components").StyledComponent<({ isPasswordShown, passwordStrengthScore, requiredPasswordScore, className, ...props }: PasswordInputProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
export default StyledPasswordInput;