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