UNPKG

989 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports["default"] = void 0;
7
8var _global = require("global");
9
10var _utilDeprecate = _interopRequireDefault(require("util-deprecate"));
11
12var _react = _interopRequireDefault(require("./react"));
13
14var _vue = _interopRequireDefault(require("./vue"));
15
16function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
18// TODO: REMOVE this entire file in V6.0.0
19var 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")();
22var _default = Centered;
23exports["default"] = _default;
24
25if (module && module.hot && module.hot.decline) {
26 module.hot.decline();
27}
\No newline at end of file