First shlink-frontend-kit iteration

This commit is contained in:
Alejandro Celaya
2023-07-31 21:36:44 +02:00
parent 5ec5396da6
commit 99ce8c9f74
102 changed files with 152 additions and 168 deletions

View File

@@ -1,10 +1,11 @@
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 { DropdownBtn } from '../DropdownBtn';
import type { Defined } from '../types';
type DateInterval = Exclude<Settings['visits'], undefined>['defaultInterval'];
type DateInterval = Defined<Settings['visits']>['defaultInterval'];
export interface DateIntervalSelectorProps {
active?: DateInterval;