UNPKG

@conductionnl/nl-design-system

Version:

NL design system components created by Conduction

29 lines (28 loc) 794 B
import * as React from "react"; import "../../style/genericInput.css"; interface IInfoTooltip { content: JSX.Element; placement?: "top" | "right" | "bottom" | "left"; } interface GenericInputComponentProps { id: string; data?: string | number; type: "text" | "number" | "password" | "email" | "url"; name: string; nameOverride?: string; required?: boolean; minLength?: null | number; maxLength?: null | number; disabled?: boolean; togglePassword?: boolean; eyeLeft?: string; eyeTop?: string; infoTooltip?: IInfoTooltip; } /** * This component generates a input element with the specified type. * * @returns Jsx of the generated form. */ export declare const GenericInputComponent: React.FC<GenericInputComponentProps>; export {};