1 | import "core-js/modules/es.array.slice.js";
|
2 | import "core-js/modules/es.object.freeze.js";
|
3 |
|
4 | var _templateObject;
|
5 |
|
6 | function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
7 |
|
8 | import dedent from 'ts-dedent';
|
9 | var hasWarned = false;
|
10 | export function LinkTo() {
|
11 | if (!hasWarned) {
|
12 |
|
13 | console.error(dedent(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n LinkTo has moved to addon-links/react:\n import LinkTo from '@storybook/addon-links/react';\n "]))));
|
14 | hasWarned = true;
|
15 | }
|
16 |
|
17 | return null;
|
18 | }
|
19 | export { linkTo, hrefTo, withLinks, navigate } from './utils';
|
20 |
|
21 | if (module && module.hot && module.hot.decline) {
|
22 | module.hot.decline();
|
23 | } |
\ | No newline at end of file |