1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-06 06:15:22 +02:00

feat(ask-ai): integrate kapa-ai page [BE-11409] (#214)

This commit is contained in:
Ali 2024-12-06 18:41:32 +13:00 committed by GitHub
parent 783ab253af
commit 441afead10
24 changed files with 102 additions and 50 deletions

View file

@ -1,5 +1,5 @@
import { Meta, Story } from '@storybook/react';
import { Clock, Icon } from 'lucide-react';
import { Clock, type LucideIcon } from 'lucide-react';
import { SidebarItem } from '.';
@ -10,7 +10,7 @@ const meta: Meta = {
export default meta;
interface StoryProps {
icon?: Icon;
icon?: LucideIcon;
label: string;
}

View file

@ -1,4 +1,4 @@
import { Icon as IconTest } from 'lucide-react';
import { type LucideIcon } from 'lucide-react';
import clsx from 'clsx';
import { MouseEventHandler, PropsWithChildren } from 'react';
@ -13,7 +13,7 @@ import { SidebarTooltip } from './SidebarTooltip';
import { useSidebarSrefActive } from './useSidebarSrefActive';
interface Props extends AutomationTestingProps {
icon?: IconTest;
icon?: LucideIcon;
to: string;
params?: object;
label: string;