text clipping?

This commit is contained in:
Violet Caulfield
2024-12-29 08:16:43 -06:00
parent b23f014489
commit 8cbc3c5a43

View File

@@ -29,7 +29,14 @@ export default function RecentlyPlayed(): React.JSX.Element {
<Card
caption={
<>
<H5>{`${recentlyPlayedTrack.Name}`}</H5>
<H5
numberOfLines={1}
textBreakStrategy="simple"
lineBreakStrategyIOS="standard"
width={150}
>
{`${recentlyPlayedTrack.Name}`}
</H5>
<Text>{`${recentlyPlayedTrack.Artists?.join(", ")}`}</Text>
</>
}