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

@@ -2,8 +2,7 @@ import { faSyncAlt as reloadIcon } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import type { FC, MouseEventHandler } from 'react';
import { Alert, Button } from 'reactstrap';
import { useToggle } from '../utils/helpers/hooks';
import { SimpleCard } from '../utils/SimpleCard';
import { SimpleCard, useToggle } from '../../shlink-frontend-kit/src';
import './AppUpdateBanner.scss';
interface AppUpdateBannerProps {

View File

@@ -1,7 +1,7 @@
import type { ReactNode } from 'react';
import { Component } from 'react';
import { Button } from 'reactstrap';
import { SimpleCard } from '../utils/SimpleCard';
import { SimpleCard } from '../../shlink-frontend-kit/src';
interface ErrorHandlerState {
hasError: boolean;

View File

@@ -5,7 +5,7 @@ import type { FC } from 'react';
import { useEffect } from 'react';
import { Link, useLocation } from 'react-router-dom';
import { Collapse, Nav, Navbar, NavbarBrand, NavbarToggler, NavItem, NavLink } from 'reactstrap';
import { useToggle } from '../utils/helpers/hooks';
import { useToggle } from '../../shlink-frontend-kit/src';
import { ShlinkLogo } from './img/ShlinkLogo';
import './MainHeader.scss';

View File

@@ -1,6 +1,6 @@
import type { FC, PropsWithChildren } from 'react';
import { Link } from 'react-router-dom';
import { SimpleCard } from '../utils/SimpleCard';
import { SimpleCard } from '../../shlink-frontend-kit/src';
type NotFoundProps = PropsWithChildren<{ to?: string }>;