UNPKG

@open-condo/ui

Version:

A set of React UI components for developing applications inside the condo ecosystem

20 lines 979 B
import { TextAreaProps as AntdTextAreaProps } from 'antd/es/input'; import React, { TextareaHTMLAttributes } from 'react'; import type { InputRef } from 'antd'; export declare const TEXTAREA_CLASS_PREFIX = "condo-input"; export type TextAreaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'style' | 'size' | 'onResize'> & Pick<AntdTextAreaProps, 'autoSize'> & { value?: string; isSubmitDisabled?: boolean; showCount?: boolean; onSubmit?: (value: string) => void; bottomPanelUtils?: React.ReactElement[]; }; declare const TextArea: React.ForwardRefExoticComponent<Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size" | "style" | "onResize"> & Pick<AntdTextAreaProps, "autoSize"> & { value?: string; isSubmitDisabled?: boolean; showCount?: boolean; onSubmit?: (value: string) => void; bottomPanelUtils?: React.ReactElement[]; } & React.RefAttributes<InputRef>>; export { TextArea }; //# sourceMappingURL=textArea.d.ts.map