1 | "use strict";
|
2 |
|
3 | require("core-js/modules/es.array.slice.js");
|
4 |
|
5 | require("core-js/modules/es.object.freeze.js");
|
6 |
|
7 | Object.defineProperty(exports, "__esModule", {
|
8 | value: true
|
9 | });
|
10 | exports.LinkTo = LinkTo;
|
11 | Object.defineProperty(exports, "hrefTo", {
|
12 | enumerable: true,
|
13 | get: function get() {
|
14 | return _utils.hrefTo;
|
15 | }
|
16 | });
|
17 | Object.defineProperty(exports, "linkTo", {
|
18 | enumerable: true,
|
19 | get: function get() {
|
20 | return _utils.linkTo;
|
21 | }
|
22 | });
|
23 | Object.defineProperty(exports, "navigate", {
|
24 | enumerable: true,
|
25 | get: function get() {
|
26 | return _utils.navigate;
|
27 | }
|
28 | });
|
29 | Object.defineProperty(exports, "withLinks", {
|
30 | enumerable: true,
|
31 | get: function get() {
|
32 | return _utils.withLinks;
|
33 | }
|
34 | });
|
35 |
|
36 | var _tsDedent = _interopRequireDefault(require("ts-dedent"));
|
37 |
|
38 | var _utils = require("./utils");
|
39 |
|
40 | var _templateObject;
|
41 |
|
42 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
43 |
|
44 | function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
45 |
|
46 | var hasWarned = false;
|
47 |
|
48 | function LinkTo() {
|
49 | if (!hasWarned) {
|
50 |
|
51 | console.error((0, _tsDedent.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n LinkTo has moved to addon-links/react:\n import LinkTo from '@storybook/addon-links/react';\n "]))));
|
52 | hasWarned = true;
|
53 | }
|
54 |
|
55 | return null;
|
56 | }
|
57 |
|
58 | if (module && module.hot && module.hot.decline) {
|
59 | module.hot.decline();
|
60 | } |
\ | No newline at end of file |