Skip to content

Commit

Permalink
[newswires] display usage note
Browse files Browse the repository at this point in the history
  • Loading branch information
twrichards committed Dec 17, 2024
1 parent b952d11 commit 06d3d07
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions client/src/payloadDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,18 @@ export const PayloadDisplay = ({
/>
</root.div>
</blockquote>
{payloadAndType.payload.maybeUsageNote && (
<span
title={payloadAndType.payload.maybeUsageNote}
css={css`
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`}
>
{payloadAndType.payload.maybeUsageNote}
</span>
)}
</div>
)}

Expand Down

0 comments on commit 06d3d07

Please sign in to comment.