MCPcopy Create free account
hub / github.com/adobe/react-spectrum / SkeletonVisualExample

Function SkeletonVisualExample

packages/dev/s2-docs/src/PageSkeleton.tsx:10–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8import {VersionBadge} from './VersionBadge';
9
10function SkeletonVisualExample() {
11 return (
12 <Image
13 src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='1'%3E%3C/svg%3E"
14 styles={style({
15 padding: {
16 default: 12,
17 lg: 24
18 },
19 marginTop: {
20 default: 20
21 },
22 borderRadius: 'xl',
23 width: 'full',
24 boxSizing: 'border-box',
25 height: {
26 default: 200,
27 lg: 300
28 },
29 objectFit: 'cover'
30 })}
31 alt="Loading example"
32 />
33 );
34}
35
36const skeletonArticle = style({
37 maxWidth: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected