SkeletonText

SkeletonText is a placeholder component for loading single-line short text, such as titles and labels. It displays a gray block that simulates the width and height of a single line of text.

Preview

SketelonText.jpg

Code example

render('Checkout::Dynamic::Render', () => {
return <SkeletonText />;
});

SkeletonTextProps

tip

Optional properties are marked with a ?. Properties without a ? are required.

size?

extralSmall small base medium large extraLarge extraExtraLarge Default: small

The size of the component.


Was this article helpful to you?