From e5d1a5a997ec69d5a35503f981cc9ab3022b7252 Mon Sep 17 00:00:00 2001 From: Christoph Jerolimov Date: Sat, 14 Dec 2024 20:57:58 +0100 Subject: [PATCH] fix(theme): add mui v4 and v5 grid examples Signed-off-by: Christoph Jerolimov --- .../src/components/FormComponents.tsx | 4 +- .../mui4-test/src/components/GridExamples.tsx | 201 ++++++++++++++++++ .../mui4-test/src/components/MUI4TestPage.tsx | 40 ++-- .../src/components/FormComponents.tsx | 2 +- .../mui5-test/src/components/GridExamples.tsx | 199 +++++++++++++++++ .../mui5-test/src/components/MUI5TestPage.tsx | 38 ++-- 6 files changed, 438 insertions(+), 46 deletions(-) create mode 100644 workspaces/theme/plugins/mui4-test/src/components/GridExamples.tsx create mode 100644 workspaces/theme/plugins/mui5-test/src/components/GridExamples.tsx diff --git a/workspaces/theme/plugins/mui4-test/src/components/FormComponents.tsx b/workspaces/theme/plugins/mui4-test/src/components/FormComponents.tsx index 1591ca0f9..057c19756 100644 --- a/workspaces/theme/plugins/mui4-test/src/components/FormComponents.tsx +++ b/workspaces/theme/plugins/mui4-test/src/components/FormComponents.tsx @@ -37,7 +37,7 @@ const Buttons = () => { {colors.map(color => ( - {color ?? 'undefined'} + {color ?? 'no color'} {variants.map(variant => (