@tiller-ds/formik-elements
Version:
Formik elements module of Tiller Design System
20 lines (19 loc) • 710 B
TypeScript
import React from "react";
import { InputFieldProps } from "./InputField";
declare type InputOnlyPropsUnion = "value" | "onChange" | "onBlur" | "error";
declare type PasswordInputFieldProps = {
/**
* The accessor value for the component (for validation, fetching, etc.).
*/
name: string;
/**
* Represents the label above the input field (not exclusively text).
*/
label?: React.ReactNode;
/**
* The help text displayed below the field.
*/
help?: React.ReactNode;
} & Omit<InputFieldProps, InputOnlyPropsUnion>;
export default function PasswordInputField({ name, label, help, ...props }: PasswordInputFieldProps): JSX.Element;
export {};