Create src folder for shlink-web-component

This commit is contained in:
Alejandro Celaya
2023-08-02 08:23:48 +02:00
parent b7d57a53f2
commit c48facc863
294 changed files with 347 additions and 347 deletions

View File

@@ -1,8 +1,8 @@
import type { FC } from 'react';
import { DropdownItem } from 'reactstrap';
import { DropdownBtn } from '../../../shlink-frontend-kit/src';
import type { Settings } from '../../../shlink-web-component';
import { rangeOrIntervalToString } from '../../../shlink-web-component/utils/dates/helpers/dateIntervals';
import type { Settings } from '../../../shlink-web-component/src';
import { rangeOrIntervalToString } from '../../../shlink-web-component/src/utils/dates/helpers/dateIntervals';
import type { Defined } from '../types';
type DateInterval = Defined<Settings['visits']>['defaultInterval'];

View File

@@ -1,6 +1,6 @@
import { useRef, useState } from 'react';
import { useLocation, useNavigate } from 'react-router-dom';
import { parseQuery } from '../../../shlink-web-component/utils/helpers/query';
import { parseQuery } from '../../../shlink-web-component/src/utils/helpers/query';
const DEFAULT_DELAY = 2000;