(props: ColorSwatchProps)
| 6 | import './ColorSwatch.css'; |
| 7 | |
| 8 | export function ColorSwatch(props: ColorSwatchProps) { |
| 9 | return ( |
| 10 | <AriaColorSwatch |
| 11 | {...props} |
| 12 | style={({color}) => ({ |
| 13 | background: `linear-gradient(${color}, ${color}), |
| 14 | repeating-conic-gradient(#CCC 0% 25%, white 0% 50%) 50% / 16px 16px` |
| 15 | })} |
| 16 | /> |
| 17 | ); |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected