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

Function render

packages/@react-spectrum/s2/src/Card.tsx:694–709  ·  view source on GitHub ↗
(icon)

Source from the content-addressed store, hash-verified

692 IllustrationContext,
693 {
694 render(icon) {
695 return (
696 <SkeletonWrapper>
697 <div
698 className={style({
699 display: 'flex',
700 alignItems: 'center',
701 justifyContent: 'center',
702 backgroundColor: 'gray-100',
703 aspectRatio: 'square'
704 })}>
705 {icon}
706 </div>
707 </SkeletonWrapper>
708 );
709 },
710 styles: style({
711 height: 'auto',
712 maxSize: 160,

Callers 9

customRenderFunction · 0.90
renderv3Function · 0.90
index.test.jsFile · 0.90
createIconFunction · 0.70
createIllustrationFunction · 0.70
Chat.test.tsxFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected