From b0809136af84be8012e6a8295628b82a004fa45d Mon Sep 17 00:00:00 2001 From: Bagatur Date: Thu, 23 May 2024 14:08:32 -0700 Subject: [PATCH] wip --- docs/src/theme/CodeBlock/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/src/theme/CodeBlock/index.js b/docs/src/theme/CodeBlock/index.js index 49232075b03..4ef3806805a 100644 --- a/docs/src/theme/CodeBlock/index.js +++ b/docs/src/theme/CodeBlock/index.js @@ -19,9 +19,11 @@ function Imports({ imports }) { API Reference: - {imports.map(({ imported, source, docs }) => ( - {imported} - )).join(" | ")} + {imports.map(({ imported, source, docs }, index) => ( + + {imported}{index < imports.length - 1 ? ', ' : ''} + + ))} ); }