"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FeedbackModal = void 0;
const react_1 = __importDefault(require("react"));
const FeedbackModalInternal_1 = require("./FeedbackModalInternal");
const Locale_1 = require("../locales/Locale");
const LocaleContext_1 = require("../context/LocaleContext");
;
/**
 * Creates an instance of the feedback modal.
 *
 * @param props
 * @returns
 */
const FeedbackModal = (props) => react_1.default.createElement(LocaleContext_1.LocaleContext.Provider, { value: props.feedbackLocale ? props.feedbackLocale : Locale_1.defaultFeedback },
    react_1.default.createElement(FeedbackModalInternal_1.FeedbackModalInternal, Object.assign({}, props)));
exports.FeedbackModal = FeedbackModal;
exports.default = exports.FeedbackModal;
