From 01d017c6cd49ce2e71e57b05d049fb59def12f87 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Wed, 12 Jun 2024 00:37:44 -0700 Subject: [PATCH] Draw: dynamic header --- src/apps/draw/create/DrawSectionHeading.tsx | 26 +++++++++++---------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/apps/draw/create/DrawSectionHeading.tsx b/src/apps/draw/create/DrawSectionHeading.tsx index a86f0d68a..5826bd745 100644 --- a/src/apps/draw/create/DrawSectionHeading.tsx +++ b/src/apps/draw/create/DrawSectionHeading.tsx @@ -90,18 +90,20 @@ export function DrawSectionHeading(props: { {/* Close button */} - - - + {!!props.onRemoveHeading && ( + + + + )} {/* Section Selector*/}