From 7aa6b204189312911a9582debd461169c83f169a Mon Sep 17 00:00:00 2001 From: bosiraphael <71827178+bosiraphael@users.noreply.github.com> Date: Tue, 7 Nov 2023 12:33:40 +0100 Subject: [PATCH] Adding the possibility to add multiple ui components in the live code editor in the docs (#2381) * working * forgot docs folder * modify according to comments --- .../ui-components/display/checkmark.mdx | 8 ++-- docs/src/ui/SandpackEditor.js | 46 +++++++++++++------ docs/src/ui/generated/index.d.ts | 35 ++++++++++++-- docs/src/ui/generated/index.js | 2 +- front/tsup.config.js | 1 - front/tsup.ui.index.tsx | 11 ++--- 6 files changed, 72 insertions(+), 31 deletions(-) diff --git a/docs/docs/contributor/frontend/ui-components/display/checkmark.mdx b/docs/docs/contributor/frontend/ui-components/display/checkmark.mdx index 830628ad4..ccb3cb8b7 100644 --- a/docs/docs/contributor/frontend/ui-components/display/checkmark.mdx +++ b/docs/docs/contributor/frontend/ui-components/display/checkmark.mdx @@ -6,11 +6,13 @@ sidebar_position: 1 import { SandpackEditor} from '@site/src/ui/SandpackEditor' { - return ; + return <>