diff --git a/packages/web/src/components/Share.tsx b/packages/web/src/components/Share.tsx index d1874afb..15bc7fdc 100644 --- a/packages/web/src/components/Share.tsx +++ b/packages/web/src/components/Share.tsx @@ -21,7 +21,9 @@ import { IconCommandLine, IconChevronRight, IconPencilSquare, + IconRectangleStack, IconWrenchScrewdriver, + IconDocumentArrowDown, } from "./icons" import DiffView from "./DiffView" import CodeBlock from "./CodeBlock" @@ -158,10 +160,12 @@ function ProviderIcon(props: { provider: string; size?: number }) { } interface ResultsButtonProps extends JSX.HTMLAttributes { + showCopy?: string + hideCopy?: string results: boolean } function ResultsButton(props: ResultsButtonProps) { - const [local, rest] = splitProps(props, ["results"]) + const [local, rest] = splitProps(props, ["results", "showCopy", "hideCopy"]) return (