SkeletonText 是用于单行短文本(如标题、标签)加载时的占位组件,显示单条灰色块模拟单行文本的宽度和高度。
render('Checkout::Dynamic::Render', () => { return <SkeletonText />;});
标注 ? 的属性为可选,未标注 ? 的属性为必选。
?
extralSmall
small
base
medium
large
extraLarge
extraExtraLarge
默认值:small
组件的尺寸。