Skip to content

Commit

Permalink
fix: Add missing SvgWrapper to copy icon (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-lee authored Feb 17, 2024
1 parent afac92c commit b0f2146
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions src/components/markdown/ui-icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
PresentationIcon,
RssIcon,
ZapIcon,
CopyIcon as CopyIconLucide,
} from "lucide-react";
import { FC, PropsWithChildren } from "react";

Expand Down Expand Up @@ -61,21 +62,9 @@ export const DeveloperPortalIcon: FC = () => (
);

export const CopyIcon: FC = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
className="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
strokeWidth={2}
style={{ rotate: "90deg" }}
>
<path
strokeLinecap="round"
strokeLinejoin="round"
d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"
/>
</svg>
<SvgWrapper>
<CopyIconLucide />
</SvgWrapper>
);

export const ShowIcon: FC = () => (
Expand Down

0 comments on commit b0f2146

Please sign in to comment.