let examples = (~children as _: list(unit), ()) =>
Brisk.Layout.(
<view
style=[
width(100.),
/* If you change height to 80. you'll observe
* that all of the sudden two lines of the second text are rendered
* With 79, I'd expect to see at least one line of the second text component
*/
height(79.),
]>
<view style=[padding4(~top=20., ())]>
<text
style=[
background(Color.rgb(0, 255, 0)),
font(~size=13., ()),
lineBreak(`TruncateTail),
color(Color.hex("#000000")),
]
value="Anonononother another another"
/>
<text
style=Brisk.Layout.[
lineBreak(`TruncateTail),
background(Color.rgb(255, 0, 0)),
color(Color.hex("#888888")),
]
value="Long Long Long Long string"
/>
</view>
</view>
);