From e83520a3bce2e25c7ab4feb4eefa6ba4e48c3d02 Mon Sep 17 00:00:00 2001 From: Weronika Olejniczak Date: Tue, 12 Nov 2024 12:03:37 +0100 Subject: [PATCH] fix(docusaurus-theme): fill Codesandbox icon with currentColor --- .../codesandbox_icon/codesandbox_icon.tsx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/packages/docusaurus-theme/src/components/codesandbox_icon/codesandbox_icon.tsx b/packages/docusaurus-theme/src/components/codesandbox_icon/codesandbox_icon.tsx index 9e3737b2c19..f9987873d86 100644 --- a/packages/docusaurus-theme/src/components/codesandbox_icon/codesandbox_icon.tsx +++ b/packages/docusaurus-theme/src/components/codesandbox_icon/codesandbox_icon.tsx @@ -1,7 +1,16 @@ -export const CodeSandboxIcon = () => ( - - +import { HTMLAttributes } from 'react'; + +type Props = HTMLAttributes; + +export const CodeSandboxIcon = (props: Props) => ( + + );