UNPKG

@explita/daily-toolset-components

Version:

A lightweight and versatile collection of TypeScript utility functions and form components, inspired by ShadCN UI, designed for seamless everyday development. Enhance your Node.js, React, and Next.js projects with a well-structured suite of helpers for st

16 lines (15 loc) 617 B
import React from "react"; import { DateInput } from "./FormDateInput"; import { FormInputProps } from "../input.type"; export declare function FormInput(props: FormInputProps): React.JSX.Element; export declare namespace FormInput { var Password: ({ minLength, hideRequirements, hideRevealer, onChange, type, ...props }: PasswordProps) => React.JSX.Element; var Search: ({ placeholder, ...props }: FormInputProps) => React.JSX.Element; var Date: typeof DateInput; } type PasswordProps = FormInputProps & { minLength?: number; hideRequirements?: boolean; hideRevealer?: boolean; }; export {};