1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports["default"] = void 0;
|
7 |
|
8 | var _global = require("global");
|
9 |
|
10 | var _utilDeprecate = _interopRequireDefault(require("util-deprecate"));
|
11 |
|
12 | var _react = _interopRequireDefault(require("./react"));
|
13 |
|
14 | var _vue = _interopRequireDefault(require("./vue"));
|
15 |
|
16 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
17 |
|
18 |
|
19 | var Centered = (0, _utilDeprecate["default"])(function () {
|
20 | return _global.window.STORYBOOK_ENV === 'vue' ? _vue["default"] : _react["default"];
|
21 | }, "\n Using \"import centered from '@storybook/addon-centered'\" is deprecated.\n Please use either:\n \"import centered from '@storybook/addon-centered/react'\"\n or\n \"import centered from '@storybook/addon-centered/vue'\"\n")();
|
22 | var _default = Centered;
|
23 | exports["default"] = _default;
|
24 |
|
25 | if (module && module.hot && module.hot.decline) {
|
26 | module.hot.decline();
|
27 | } |
\ | No newline at end of file |