1 | 'use strict';
|
2 |
|
3 | var JotaiZustand = require('jotai-zustand');
|
4 |
|
5 | function _interopNamespaceDefault(e) {
|
6 | var n = Object.create(null);
|
7 | if (e) {
|
8 | Object.keys(e).forEach(function (k) {
|
9 | if (k !== 'default') {
|
10 | var d = Object.getOwnPropertyDescriptor(e, k);
|
11 | Object.defineProperty(n, k, d.get ? d : {
|
12 | enumerable: true,
|
13 | get: function () { return e[k]; }
|
14 | });
|
15 | }
|
16 | });
|
17 | }
|
18 | n.default = e;
|
19 | return Object.freeze(n);
|
20 | }
|
21 |
|
22 | var JotaiZustand__namespace = _interopNamespaceDefault(JotaiZustand);
|
23 |
|
24 | var atomWithStore = function atomWithStore() {
|
25 | console.warn('[DEPRECATED] use `jotai-zustand` instead.');
|
26 | return JotaiZustand__namespace.atomWithStore.apply(JotaiZustand__namespace, arguments);
|
27 | };
|
28 |
|
29 | exports.atomWithStore = atomWithStore;
|