From b319e09671389e9b2ed5fa18f49855e110346500 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 26 Sep 2023 09:45:37 -0700 Subject: [PATCH] fix: allow null in description list items --- src/components/DescriptionList/DescriptionList.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/DescriptionList/DescriptionList.tsx b/src/components/DescriptionList/DescriptionList.tsx index 31f4231c..a4d1d5dd 100644 --- a/src/components/DescriptionList/DescriptionList.tsx +++ b/src/components/DescriptionList/DescriptionList.tsx @@ -112,6 +112,7 @@ export interface DescriptionListProps { | React.ReactElement | React.ReactElement | React.ReactElement + | null // allows items to be added programatically and made null if a condition doesn't apply >; title?: string; titleIcon?: React.ComponentType>;