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

Function Card

examples/s2-rslib/src/Card.tsx:3–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import {style} from '@react-spectrum/s2/style' with {type: 'macro'};
2
3const Card = () => {
4 return (
5 <div className={style({backgroundColor: 'cyan-400', color: 'magenta-400'})}>
6 <h1>Card</h1>
7 </div>
8 );
9};
10
11export default Card;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected