"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const prefix_classname_1 = __importDefault(require("prefix-classname"));
const const_1 = require("../../../config/const");
require("./style.scss");
const material_panel_1 = __importDefault(require("../material-panel"));
const cn = (0, prefix_classname_1.default)('');
const c = (0, prefix_classname_1.default)(`${const_1.CLS_PREFIX}-left-panel`);
const LeftPanel = react_1.default.memo(({ className, materials }) => {
    return (react_1.default.createElement("div", { className: cn(c(), className) },
        react_1.default.createElement(material_panel_1.default, { materials: materials })));
});
LeftPanel.defaultProps = {
    materials: []
};
exports.default = LeftPanel;
//# sourceMappingURL=index.js.map