"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DropDownValue = void 0;
var react_1 = __importDefault(require("react"));
var Typography_1 = __importDefault(require("@mui/material/Typography"));
var styles_1 = require("./styles");
var DropDownValue = function (_a) {
    var menuIsOpen = _a.selectProps.menuIsOpen, label = _a.data.label;
    var styles = (0, styles_1.useStyles)();
    return (!menuIsOpen && (react_1.default.createElement(Typography_1.default, { "data-reltio-id": "simple-drop-down-value", variant: "body2", classes: { root: styles.value } }, label)));
};
exports.DropDownValue = DropDownValue;
