Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertCarreras committed Jan 16, 2025
1 parent 84a8b56 commit 64d6873
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/gestalt/src/BannerSlim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,13 @@ export default function BannerSlim({
) : null}
</Text>
</Fragment>
) : (
) : null}
{message && typeof message !== 'string' ? (
<Fragment>
<Text ref={referenceRef} inline />
{cloneElement(message, { ref: targetRef })}
</Fragment>
)}
) : null}
</Box>
</Flex.Item>

Expand Down

0 comments on commit 64d6873

Please sign in to comment.