Template
Improve chat navigation, model selection, and streaming
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
TooltipTrigger,
|
||||
} from "@/components/ui/tooltip";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { type LucideIcon, XIcon } from "lucide-react";
|
||||
import { type RemixiconComponentType, RiCloseLine } from "@remixicon/react";
|
||||
import type { ComponentProps, HTMLAttributes } from "react";
|
||||
|
||||
export type ArtifactProps = HTMLAttributes<HTMLDivElement>;
|
||||
@@ -57,7 +57,7 @@ export const ArtifactClose = ({
|
||||
variant={variant}
|
||||
{...props}
|
||||
>
|
||||
{children ?? <XIcon className="size-4" />}
|
||||
{children ?? <RiCloseLine className="size-4" />}
|
||||
<span className="sr-only">Close</span>
|
||||
</Button>
|
||||
);
|
||||
@@ -92,7 +92,7 @@ export const ArtifactActions = ({
|
||||
export type ArtifactActionProps = ComponentProps<typeof Button> & {
|
||||
tooltip?: string;
|
||||
label?: string;
|
||||
icon?: LucideIcon;
|
||||
icon?: RemixiconComponentType;
|
||||
};
|
||||
|
||||
export const ArtifactAction = ({
|
||||
|
||||
Reference in New Issue
Block a user