Skip to content

Commit

Permalink
PR feedback - prop default
Browse files Browse the repository at this point in the history
  • Loading branch information
steviehailey-skyscanner committed May 1, 2024
1 parent 945a874 commit 7945dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bpk-component-bottom-sheet/src/BpkBottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const BpkBottomSheet = ({
id={headingId}
title={title}
titleTextStyle={TEXT_STYLES.label1}
titleTagName={title ? "h2" : undefined}
titleTagName={title ? "h2" : "span"}
leadingButton={
<BpkCloseButton
label={closeLabel}
Expand Down

0 comments on commit 7945dd8

Please sign in to comment.