From 38a25c6c796b2a7e35f6e731791ab667fd7e0fce Mon Sep 17 00:00:00 2001 From: vhande <78013271+vhande@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:28:48 +0100 Subject: [PATCH] Export label pattern --- src/pages/steps/AdditionalInformationStep/LabelsStep.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/steps/AdditionalInformationStep/LabelsStep.tsx b/src/pages/steps/AdditionalInformationStep/LabelsStep.tsx index f527a9207..854b187cf 100644 --- a/src/pages/steps/AdditionalInformationStep/LabelsStep.tsx +++ b/src/pages/steps/AdditionalInformationStep/LabelsStep.tsx @@ -27,7 +27,7 @@ import { getUniqueLabels } from '@/utils/getUniqueLabels'; type LabelsStepProps = StackProps & TabContentProps; -const LABEL_PATTERN = /^[0-9a-zA-ZÀ-ÿ][0-9a-zA-ZÀ-ÿ\-_\s]{1,49}$/; +export const LABEL_PATTERN = /^[0-9a-zA-ZÀ-ÿ][0-9a-zA-ZÀ-ÿ\-_\s]{1,49}$/; const getGlobalValue = getValueFromTheme('global'); const getButtonValue = getValueFromTheme('button');