"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormHelperTextContent = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const styles_1 = require("./styles");
const FormHelperTextContent = ({ success, error, children, }) => {
    if (children) {
        return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { error: error, success: success, children: (0, jsx_runtime_1.jsx)(styles_1.Message, { children: children }) }));
    }
    return null;
};
exports.FormHelperTextContent = FormHelperTextContent;
