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

Function Icon

examples/s2-rslib/src/Icon.tsx:4–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import {iconStyle} from '@react-spectrum/s2/style' with {type: 'macro'};
3
4const Icon = () => {
5 return <AlertTriangle styles={iconStyle({size: 'M', color: 'negative'})} />;
6};
7
8export default Icon;

Callers

nothing calls this directly

Calls 1

iconStyleFunction · 0.90

Tested by

no test coverage detected