UNPKG

@switch-to-eu/layout-ui

Version:

Modular UI design system for privacy-focused tools - React components with Tailwind CSS and theme customization

16 lines 759 B
import * as React from "react"; import type { UseFormRegister, FieldError, FieldPath, FieldValues } from "react-hook-form"; import type { z } from "zod"; export interface FormTextareaProps<TFormData extends FieldValues> extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "name"> { label: string; name: FieldPath<TFormData>; register: UseFormRegister<TFormData>; error?: FieldError; description?: string; schema?: z.ZodObject<z.ZodRawShape>; } export declare const FormTextarea: { <TFormData extends FieldValues>({ label, name, register, error, description, className, id, rows, schema, ...props }: FormTextareaProps<TFormData>): React.JSX.Element; displayName: string; }; //# sourceMappingURL=FormTextarea.d.ts.map