SkeletonText
The SkeletonText component renders a specified number of placeholder boxes for
lines of text with an animated background.
Import
import { SkeletonText } from '@dynatrace/strato-components/content';
Demo
You can use the SkeletonText without specifying any props. It will render a
pre-set number of lines and use up the available width in the parent container.
Set width
The width prop can be used to specify the width of the SkeletonText.
Set number of lines
To render a given amount of lines, you can utilize the lines prop.