1 | "use strict";
|
2 |
|
3 | require("core-js/modules/es.object.assign");
|
4 |
|
5 | Object.defineProperty(exports, "__esModule", {
|
6 | value: true
|
7 | });
|
8 | exports["default"] = void 0;
|
9 |
|
10 | var _rax = require("rax");
|
11 |
|
12 | var _raxView = _interopRequireDefault(require("rax-view"));
|
13 |
|
14 | var _addons = require("@storybook/addons");
|
15 |
|
16 | var _parameters = _interopRequireDefault(require("./parameters"));
|
17 |
|
18 | var _styles = _interopRequireDefault(require("./styles"));
|
19 |
|
20 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | function centered(storyFn) {
|
26 | return (0, _rax.createElement)(_raxView["default"], {
|
27 | style: _styles["default"].style
|
28 | }, (0, _rax.createElement)(_raxView["default"], {
|
29 | style: _styles["default"].innerStyle
|
30 | }, storyFn()));
|
31 | }
|
32 |
|
33 | var _default = (0, _addons.makeDecorator)(Object.assign({}, _parameters["default"], {
|
34 | wrapper: centered
|
35 | }));
|
36 |
|
37 | exports["default"] = _default;
|
38 |
|
39 | if (module && module.hot && module.hot.decline) {
|
40 | module.hot.decline();
|
41 | } |
\ | No newline at end of file |