PF6 Truncate component
Text truncation with a tooltip showing the full text on hover.
See: https://www.patternfly.org/components/truncate
Truncation mode
Construct a Truncate with text content
truncate "This is a very long text string that should be truncated"
|> withMaxChars 20
|> toMarkupSet the maximum number of visible characters
Truncate from the middle (keeps start and end visible)
Truncate from the end (default)
Opaque Truncate type