Paragraph
The Paragraph component displays a block of text with the default text style
and supports text truncation.
Import
import { Paragraph } from '@dynatrace/strato-components/typography';
Use cases
Combine with other typography components
All typography components like Strong, Strikethrough or Text can be used
within a Paragraph.
Limit the number of lines
Setting the optional maxLines property limits the text in the Paragraph to
the given number of lines. When the text exceeds the set limit, it is truncated,
and an ellipsis is displayed to indicate the truncation.