UNPKG

react-password-check

Version:

A simple password strength indicator component for react.

16 lines (15 loc) 461 B
import React from 'react'; import './index.css'; interface PasswordCheckProps { value: string; name: string; passwordsShouldMatch?: boolean; images?: { right: string; wrong: string; }; position?: 'top' | 'bottom'; containerStyle?: React.CSSProperties; } export default function PasswordCheck({ value, name, passwordsShouldMatch, position, images, containerStyle, }: PasswordCheckProps): React.JSX.Element; export {};