From 31666c9bb667afdc63b2bdcd78f64b9fb60306be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 10 Aug 2024 13:39:49 -0500 Subject: [PATCH] feat: start of buttons --- .../customize/[embed]/components/Boolean.tsx | 1 + .../Color/components/ColorControllerRaw.tsx | 1 + .../customize/[embed]/components/Radius.tsx | 1 + .../customize/[embed]/components/Size.tsx | 1 + .../[embed]/components/SizeWithout0.tsx | 1 + .../customize/[embed]/components/Slider.tsx | 1 + .../tools/embed/customize/[embed]/page.tsx | 19 +++++++++++++++++-- 7 files changed, 23 insertions(+), 2 deletions(-) diff --git a/src/app/tools/embed/customize/[embed]/components/Boolean.tsx b/src/app/tools/embed/customize/[embed]/components/Boolean.tsx index f01b26107..2a6d8899b 100644 --- a/src/app/tools/embed/customize/[embed]/components/Boolean.tsx +++ b/src/app/tools/embed/customize/[embed]/components/Boolean.tsx @@ -7,6 +7,7 @@ export function Boolean({ configKey }: EmbedPreviewControllerProps) { return ( state[configKey] as boolean)} onCheckedChange={() => { mutateEmbedState((draft) => { diff --git a/src/app/tools/embed/customize/[embed]/components/Color/components/ColorControllerRaw.tsx b/src/app/tools/embed/customize/[embed]/components/Color/components/ColorControllerRaw.tsx index ecf286466..c547720a6 100644 --- a/src/app/tools/embed/customize/[embed]/components/Color/components/ColorControllerRaw.tsx +++ b/src/app/tools/embed/customize/[embed]/components/Color/components/ColorControllerRaw.tsx @@ -25,6 +25,7 @@ export function ColorControllerRaw({ }} /> - Customize + Customize + + + + + {Object.keys(config).map((configKey) => { const item = config[configKey];