-
Notifications
You must be signed in to change notification settings - Fork 141
bug:Fixed the missing Copy button in Installation Section #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -134,23 +134,29 @@ const CodeExample = ({ | |
| className="max-w-full bg-black/20 backdrop-blur-lg md:max-w-md" | ||
| code={example.commands.npm} | ||
| language={example.language} | ||
| ></CodeBlock> | ||
| > | ||
| <CodeBlockCopyButton /> | ||
| </CodeBlock> | ||
|
Comment on lines
+137
to
+139
|
||
| </CodeBlockTab> | ||
|
|
||
| <CodeBlockTab value="pnpm" className="w-full p-2"> | ||
| <CodeBlock | ||
| className="max-w-full bg-black/20 backdrop-blur-lg md:max-w-md" | ||
| code={example.commands.pnpm} | ||
| language={example.language} | ||
| ></CodeBlock> | ||
| > | ||
| <CodeBlockCopyButton /> | ||
| </CodeBlock> | ||
|
Comment on lines
+147
to
+149
|
||
| </CodeBlockTab> | ||
|
|
||
| <CodeBlockTab value="bun" className="w-full p-2"> | ||
| <CodeBlock | ||
| className="max-w-full bg-black/20 backdrop-blur-lg md:max-w-md" | ||
| code={example.commands.bun} | ||
| language={example.language} | ||
| ></CodeBlock> | ||
| > | ||
| <CodeBlockCopyButton /> | ||
| </CodeBlock> | ||
|
Comment on lines
+157
to
+159
|
||
| </CodeBlockTab> | ||
| </CodeBlockTabs> | ||
| </div> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.