docs: fix copy in code blocks with tabs (#10123)
* docs: fix copy in code blocks with tabs * fix lint error
This commit is contained in:
@@ -13,6 +13,7 @@ export const Npm2YarnCode = ({ npmCode, ...rest }: Npm2YarnCodeProps) => {
|
||||
const lang = "bash"
|
||||
|
||||
const { title = "", ...codeOptions } = rest
|
||||
codeOptions.hasTabs = true
|
||||
|
||||
const tabs = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user