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

Function IconColors

packages/dev/s2-docs/src/IconColors.tsx:61–69  ·  view source on GitHub ↗
({colors}: {colors: string[]})

Source from the content-addressed store, hash-verified

59}
60
61export function IconColors({colors}: {colors: string[]}) {
62 return (
63 <div style={{columnWidth: 100}}>
64 {colors.map(color => (
65 <ColorSwatch key={color} name={color} />
66 ))}
67 </div>
68 );
69}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected