Skip to content

Commit

Permalink
Merge pull request #400 from lifeomic/no-jira-desc-list-null
Browse files Browse the repository at this point in the history
Allow null in description list items
  • Loading branch information
MMFane authored Sep 26, 2023
2 parents b5afd8e + b319e09 commit 37a4167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/DescriptionList/DescriptionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export interface DescriptionListProps {
| React.ReactElement<DescriptionTermProps>
| React.ReactElement<DescriptionDetailsProps>
| React.ReactElement<DescriptionListGroupHeadingProps>
| null // allows items to be added programatically and made null if a condition doesn't apply
>;
title?: string;
titleIcon?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
Expand Down

0 comments on commit 37a4167

Please sign in to comment.