"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FileUploaderContainer = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const FileUploaderLabel_1 = require("../../FileUploaderLabel");
const HelperText_1 = require("../../HelperText");
const FileUploaderContainer = ({ className, label, children, isError, helperText, }) => ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [label && (0, jsx_runtime_1.jsx)(FileUploaderLabel_1.FileUploaderLabel, { children: label }), children, isError && (0, jsx_runtime_1.jsx)(HelperText_1.HelperText, { isError: isError, children: helperText })] }));
exports.FileUploaderContainer = FileUploaderContainer;
