UNPKG

soignant-nomade-ui

Version:

A react library for the soignant-nomade design system. You can find a storybook project inside it

11 lines (10 loc) 518 B
import { CSSProperties, HTMLAttributes, TextareaHTMLAttributes } from "react"; interface TextareaComponentProps extends TextareaHTMLAttributes<HTMLTextAreaElement> { id?: string; rootProps?: HTMLAttributes<HTMLDivElement>; error?: React.ReactNode; mode?: "default" | "error" | "disabled"; overwriteTextareaStyle?: CSSProperties; } export declare const Textarea: ({ id, error, rootProps, mode, overwriteTextareaStyle, ...textareaProps }: TextareaComponentProps) => JSX.Element; export {};