@sendbird/uikit-react
Version:
Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
25 lines (21 loc) • 783 B
JavaScript
;
var _tslib = require('./bundle-Conb-pOy.js');
var uikitConfigStorage = {
getItem: function (key) {
return _tslib.__awaiter(this, void 0, void 0, function () {
var _a;
return _tslib.__generator(this, function (_b) {
return [2 /*return*/, (_a = localStorage.getItem(key)) !== null && _a !== void 0 ? _a : null];
});
});
},
setItem: function (key, value) {
return _tslib.__awaiter(this, void 0, void 0, function () {
return _tslib.__generator(this, function (_a) {
return [2 /*return*/, localStorage.setItem(key, value)];
});
});
},
};
exports.uikitConfigStorage = uikitConfigStorage;
//# sourceMappingURL=bundle-C6rru8Hj.js.map