@yandex/ui
Version:
Yandex UI components
16 lines (15 loc) • 983 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.attachRegistry = void 0;
var di_1 = require("@bem-react/di");
var Attach_const_1 = require("../Attach.const");
var Attach_Holder_1 = require("../Holder/Attach-Holder");
var Attach_Control_1 = require("../Control/Attach-Control");
exports.attachRegistry = new di_1.Registry({ id: Attach_const_1.cnAttach() });
exports.attachRegistry
.set('Holder', Attach_Holder_1.Holder)
.set('Control', Attach_Control_1.Control)
.set('Button', function () {
// TODO: Использовать error api из новой версии react.
throw new Error("\u0414\u043B\u044F \u0440\u0430\u0431\u043E\u0442\u044B \"Attach\" \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \"Button\" \u0432 \u0440\u0435\u0435\u0441\u0442\u0440 \"" + Attach_const_1.cnAttach() + "\".");
});