()
| 453 | } |
| 454 | |
| 455 | export function SkeletonCard() { |
| 456 | return ( |
| 457 | <Card size="S" styles={style({width: 'full'})}> |
| 458 | <CardPreview> |
| 459 | <div |
| 460 | className={style({ |
| 461 | width: 'full', |
| 462 | aspectRatio: '2/1', |
| 463 | backgroundColor: 'gray-100' |
| 464 | })} |
| 465 | /> |
| 466 | </CardPreview> |
| 467 | <Content> |
| 468 | <Text slot="title"> |
| 469 | <span className={text} inert> |
| 470 | Placeholder title |
| 471 | </span> |
| 472 | </Text> |
| 473 | <Text slot="description" UNSAFE_style={{WebkitTextFillColor: 'transparent'}}> |
| 474 | <span className={text} inert> |
| 475 | This is placeholder content approximating the length of the real content to avoid layout |
| 476 | shifting when the real content appears. |
| 477 | </span> |
| 478 | </Text> |
| 479 | </Content> |
| 480 | </Card> |
| 481 | ); |
| 482 | } |
nothing calls this directly
no outgoing calls
no test coverage detected