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

Function SkeletonCard

packages/dev/s2-docs/pages/s2/home/ExampleApp2.tsx:388–410  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

386});
387
388function SkeletonCard() {
389 return (
390 <Card size="XS" styles={style({width: 'full'})}>
391 <CardPreview>
392 <div
393 className={style({
394 width: 'full',
395 aspectRatio: '2/1',
396 backgroundColor: 'gray-100'
397 })}
398 />
399 </CardPreview>
400 <Content>
401 <Text slot="title">
402 <span className={text}>Placeholder title</span>
403 </Text>
404 <Text slot="description" UNSAFE_style={{WebkitTextFillColor: 'transparent'}}>
405 <span className={text}>Testing</span>
406 </Text>
407 </Content>
408 </Card>
409 );
410}
411
412function Layers() {
413 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected