"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormTextArea = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const TextArea_1 = require("../../components/TextArea");
const useFormFieldProps_1 = require("../useFormFieldProps");
/**
 * Адаптер для TextArea
 */
const FormTextArea = (props) => {
    const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
        ...props,
        defaultValue: props.defaultValue || '',
    });
    return (0, jsx_runtime_1.jsx)(TextArea_1.TextArea, { ...fieldProps });
};
exports.FormTextArea = FormTextArea;
