From 37cde5fb749cf2bec689a44d5ad9e7d7a94f9541 Mon Sep 17 00:00:00 2001 From: sam-keen Date: Fri, 18 Mar 2022 16:40:55 +0000 Subject: [PATCH] frontend-monorepo-100 Allow Lozenge component to accept props i.e. data-testid --- libs/ui-toolkit/src/components/lozenge/lozenge.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/ui-toolkit/src/components/lozenge/lozenge.tsx b/libs/ui-toolkit/src/components/lozenge/lozenge.tsx index e12fd4020..19c44454e 100644 --- a/libs/ui-toolkit/src/components/lozenge/lozenge.tsx +++ b/libs/ui-toolkit/src/components/lozenge/lozenge.tsx @@ -27,9 +27,10 @@ export const Lozenge = ({ variant, className, details, + ...props }: LozengeProps) => { return ( - + {children} {details && {details}}