From 001c6d9a6be0903711379467d36607d20605686d Mon Sep 17 00:00:00 2001 From: Arkadiusz Bachorski <60391032+arkadiuszbachorski@users.noreply.github.com> Date: Tue, 14 Jan 2025 07:45:52 +0100 Subject: [PATCH] Add center allow disabling centering to SideLabel --- .../SideLabel/SideLabel.stories.tsx | 21 +++++++++++++++++++ src/components/SideLabel/SideLabel.tsx | 15 ++++++++++--- 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/src/components/SideLabel/SideLabel.stories.tsx b/src/components/SideLabel/SideLabel.stories.tsx index 088dd06..9ad7f50 100644 --- a/src/components/SideLabel/SideLabel.stories.tsx +++ b/src/components/SideLabel/SideLabel.stories.tsx @@ -29,6 +29,27 @@ export const Reversed = () => ( ) +const complexLabel = ( + <> +
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit +
+ > +) + +export const Complex = () => ( +