@sendbird/uikit-react
Version: 
Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
23 lines (20 loc) • 754 B
JavaScript
import { a as __awaiter, b as __generator } from './bundle-CzBQNSmE.js';
var uikitConfigStorage = {
    getItem: function (key) {
        return __awaiter(this, void 0, void 0, function () {
            var _a;
            return __generator(this, function (_b) {
                return [2 /*return*/, (_a = localStorage.getItem(key)) !== null && _a !== void 0 ? _a : null];
            });
        });
    },
    setItem: function (key, value) {
        return __awaiter(this, void 0, void 0, function () {
            return __generator(this, function (_a) {
                return [2 /*return*/, localStorage.setItem(key, value)];
            });
        });
    },
};
export { uikitConfigStorage as u };
//# sourceMappingURL=bundle-CJ_hA_3S.js.map