File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -134,23 +134,29 @@ const CodeExample = ({
134134 className = "max-w-full bg-black/20 backdrop-blur-lg md:max-w-md"
135135 code = { example . commands . npm }
136136 language = { example . language }
137- > </ CodeBlock >
137+ >
138+ < CodeBlockCopyButton />
139+ </ CodeBlock >
138140 </ CodeBlockTab >
139141
140142 < CodeBlockTab value = "pnpm" className = "w-full p-2" >
141143 < CodeBlock
142144 className = "max-w-full bg-black/20 backdrop-blur-lg md:max-w-md"
143145 code = { example . commands . pnpm }
144146 language = { example . language }
145- > </ CodeBlock >
147+ >
148+ < CodeBlockCopyButton />
149+ </ CodeBlock >
146150 </ CodeBlockTab >
147151
148152 < CodeBlockTab value = "bun" className = "w-full p-2" >
149153 < CodeBlock
150154 className = "max-w-full bg-black/20 backdrop-blur-lg md:max-w-md"
151155 code = { example . commands . bun }
152156 language = { example . language }
153- > </ CodeBlock >
157+ >
158+ < CodeBlockCopyButton />
159+ </ CodeBlock >
154160 </ CodeBlockTab >
155161 </ CodeBlockTabs >
156162 </ div >
You can’t perform that action at this time.
0 commit comments