beta-parity-react
Version:
Beta Parity React Components
26 lines • 745 B
TypeScript
import React from 'react';
import './index.css';
import { Input } from '../BaseInput';
/**
* Props for the PasswordInput component.
*
* Extends properties from the `Input` component.
*/
export interface PasswordInputProps extends React.ComponentPropsWithoutRef<typeof Input> {
/**
* The color of eye icon
*
* @default 'neutral'
* @memberof PasswordInputProps
*/
color?: 'accent' | 'neutral';
/**
* Default state of showing password
*
* @default true
* @memberof PasswordInputProps
*/
defaultHidden?: boolean;
}
export declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<HTMLInputElement>>;
//# sourceMappingURL=index.d.ts.map