"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SidePanelEmptyState = void 0;
var react_1 = __importDefault(require("react"));
var Typography_1 = __importDefault(require("@mui/material/Typography"));
var icons_1 = require("../icons");
var styles_1 = require("./styles");
var SidePanelEmptyState = function (_a) {
    var _b = _a.IconRenderer, IconRenderer = _b === void 0 ? icons_1.AttributesList : _b, text = _a.text, secondaryText = _a.secondaryText;
    var styles = (0, styles_1.useStyles)();
    return (react_1.default.createElement("div", { className: styles.root },
        react_1.default.createElement(IconRenderer, { className: styles.logo }),
        react_1.default.createElement("div", { className: styles.textBox },
            react_1.default.createElement(Typography_1.default, { className: styles.text }, text),
            secondaryText && (react_1.default.createElement(Typography_1.default, { "data-reltio-id": "empty-state-secondary-text", className: styles.secondaryText }, secondaryText)))));
};
exports.SidePanelEmptyState = SidePanelEmptyState;
