@utrecht/component-library-react
Version:
React component library bundle for the Municipality of Utrecht based on the NL Design System architecture
14 lines • 926 B
TypeScript
import { ReactNode, Ref } from 'react';
import type { FormFieldProps } from './FormField';
import type { TextareaProps } from './Textarea';
export interface FormFieldTextareaProps extends Omit<FormFieldProps, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Pick<TextareaProps, 'autoComplete' | 'cols' | 'defaultValue' | 'disabled' | 'invalid' | 'maxLength' | 'minLength' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'placeholder' | 'readOnly' | 'required' | 'rows' | 'value'> {
description?: ReactNode;
errorMessage?: ReactNode;
inputDir?: TextareaProps['dir'];
inputRequired?: TextareaProps['required'];
label: ReactNode;
status?: ReactNode;
inputRef?: Ref<HTMLTextAreaElement>;
}
export declare const FormFieldTextarea: import("react").ForwardRefExoticComponent<FormFieldTextareaProps & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=FormFieldTextarea.d.ts.map