index.js
1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"use strict";
require("core-js/modules/es6.object.define-property");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.LinkTo = LinkTo;
Object.defineProperty(exports, "ADDON_ID", {
enumerable: true,
get: function get() {
return _events.ADDON_ID;
}
});
Object.defineProperty(exports, "EVENT_ID", {
enumerable: true,
get: function get() {
return _events.EVENT_ID;
}
});
Object.defineProperty(exports, "REQUEST_HREF_EVENT_ID", {
enumerable: true,
get: function get() {
return _events.REQUEST_HREF_EVENT_ID;
}
});
Object.defineProperty(exports, "RECEIVE_HREF_EVENT_ID", {
enumerable: true,
get: function get() {
return _events.RECEIVE_HREF_EVENT_ID;
}
});
Object.defineProperty(exports, "linkTo", {
enumerable: true,
get: function get() {
return _preview.linkTo;
}
});
Object.defineProperty(exports, "hrefTo", {
enumerable: true,
get: function get() {
return _preview.hrefTo;
}
});
Object.defineProperty(exports, "withLinks", {
enumerable: true,
get: function get() {
return _preview.withLinks;
}
});
var _events = require("./events");
var _preview = require("./preview");
var hasWarned = false;
function LinkTo() {
if (!hasWarned) {
// eslint-disable-next-line no-console
console.error("\nLinkTo has moved to addon-links/react:\n\nimport LinkTo from '@storybook/addon-links/react';\n ");
hasWarned = true;
}
return null;
}