lune-ui-lib
Version:
Lune UI Components Library
23 lines (22 loc) • 823 B
TypeScript
import type { SxProps } from '@mui/material';
import React from 'react';
declare const Textarea: ({ id, name, disabled, error, placeholder, onChange, onBlur, onFocus, className, wide, rows, maxRows, autofocus, inputRef, sx, singleLine, ...rest }: {
id?: string;
disabled?: boolean;
error?: string | boolean;
placeholder?: string;
name?: string;
onChange?: React.ChangeEventHandler<HTMLTextAreaElement>;
onBlur?: React.FocusEventHandler<HTMLTextAreaElement>;
onFocus?: React.FocusEventHandler<HTMLTextAreaElement>;
value?: string;
className?: string;
wide?: boolean;
rows?: number;
maxRows?: number;
autofocus?: boolean;
inputRef?: React.Ref<any>;
sx?: SxProps;
singleLine?: boolean;
}) => import("react/jsx-runtime").JSX.Element;
export default Textarea;