SkeletonTextBlock
SkeletonTextBlock is a placeholder component used when loading multi-line text. It displays multiple gray stripes to mimic the layout of text, such as paragraphs and headings.
You can choose any text content as the basis for the placeholder presentation.
Preview

Code example
render('Checkout::Dynamic::Render', () => {
return <SkeletonTextBlock />;
});
SkeletonTextBlockProps
tip
Optional properties are marked with a ?. Properties without a ? are required.
size?
small
large
medium
Default: small
The size of the component.
Was this article helpful to you?