From 442313e2d54057f1e45402b78752cdec2c62ab99 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bachorski <60391032+arkadiuszbachorski@users.noreply.github.com> Date: Tue, 15 Oct 2024 13:30:45 +0200 Subject: [PATCH 1/4] Add reverse prop --- packages/design-system/src/components/SideLabel/SideLabel.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/design-system/src/components/SideLabel/SideLabel.tsx b/packages/design-system/src/components/SideLabel/SideLabel.tsx index 3b9ea138..259f7c76 100644 --- a/packages/design-system/src/components/SideLabel/SideLabel.tsx +++ b/packages/design-system/src/components/SideLabel/SideLabel.tsx @@ -10,6 +10,8 @@ import { cn } from '../../utils/className' type SideLabelProps = Omit, 'label'> & { label?: ReactNode + /* Show label on right side */ + reverse?: boolean } /** @@ -19,11 +21,13 @@ export const SideLabel = ({ children, className, label, + reverse, ...props }: SideLabelProps) => (