mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
feat(ask-ai): integrate kapa-ai page [BE-11409] (#214)
This commit is contained in:
parent
783ab253af
commit
441afead10
24 changed files with 102 additions and 50 deletions
|
@ -1,6 +1,6 @@
|
|||
import clsx from 'clsx';
|
||||
import { PropsWithChildren } from 'react';
|
||||
import type { Icon } from 'lucide-react';
|
||||
import type { LucideIcon } from 'lucide-react';
|
||||
|
||||
import { TooltipWithChildren } from '@@/Tip/TooltipWithChildren';
|
||||
|
||||
|
@ -16,7 +16,7 @@ interface Props<T extends Value> {
|
|||
tooltip?: string;
|
||||
className?: string;
|
||||
type?: 'radio' | 'checkbox';
|
||||
checkIcon: Icon;
|
||||
checkIcon: LucideIcon;
|
||||
}
|
||||
|
||||
export function BoxOption<T extends Value>({
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import clsx from 'clsx';
|
||||
import { Icon as ReactFeatherComponentType, Check } from 'lucide-react';
|
||||
import { type LucideIcon, Check } from 'lucide-react';
|
||||
import { Fragment } from 'react';
|
||||
|
||||
import { Icon } from '@/react/components/Icon';
|
||||
|
@ -22,7 +22,7 @@ type Props<T extends Value> = {
|
|||
isSelected(value: T): boolean;
|
||||
type?: 'radio' | 'checkbox';
|
||||
slim?: boolean;
|
||||
checkIcon?: ReactFeatherComponentType;
|
||||
checkIcon?: LucideIcon;
|
||||
};
|
||||
|
||||
export function BoxSelectorItem<T extends Value>({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue