diff --git a/src/renderer/src/components/artifacts/ArtifactPublishButton.tsx b/src/renderer/src/components/artifacts/ArtifactPublishButton.tsx index a90c1c037a9..8bb2a49218a 100644 --- a/src/renderer/src/components/artifacts/ArtifactPublishButton.tsx +++ b/src/renderer/src/components/artifacts/ArtifactPublishButton.tsx @@ -21,6 +21,8 @@ export function ArtifactPublishButton({ sourceKey, createRequest, className, + variant = 'ghost', + size = 'icon-sm', disabled, anchorRef, open: controlledOpen, @@ -29,6 +31,9 @@ export function ArtifactPublishButton({ sourceKey: string createRequest: () => Promise className?: string + /** For a toolbar whose other buttons use a different style. */ + variant?: React.ComponentProps['variant'] + size?: React.ComponentProps['size'] disabled?: boolean } & ( | { anchorRef?: never; open?: never; onOpenChange?: never } @@ -134,8 +139,8 @@ export function ArtifactPublishButton({