Skip to content

Commit

Permalink
Update DescriptionList with BEM Classes
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperbirch1 committed Dec 7, 2023
1 parent 7fb0679 commit e38c04d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/description-list/description-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const DescriptionList: React.FC<DescriptionListProps> = ({
{data.map((item) => {
const { label, value } = item;
return (
<div>
<dt>{label}</dt>
<dd>{value}</dd>
<div className="list-description__item">
<dt className="list-description__key">{label}</dt>
<dd className="list-description__value">{value}</dd>
</div>
);
})}
Expand Down

0 comments on commit e38c04d

Please sign in to comment.