({label, ...props}: ColorSliderProps)
| 14 | } |
| 15 | |
| 16 | export function ColorSlider({label, ...props}: ColorSliderProps) { |
| 17 | return ( |
| 18 | <AriaColorSlider {...props}> |
| 19 | <Label>{label}</Label> |
| 20 | <SliderOutput /> |
| 21 | <SliderTrack |
| 22 | style={({defaultStyle}) => ({ |
| 23 | background: `${defaultStyle.background}, |
| 24 | repeating-conic-gradient(#CCC 0% 25%, white 0% 50%) 50% / 16px 16px` |
| 25 | })}> |
| 26 | <ColorThumb /> |
| 27 | </SliderTrack> |
| 28 | </AriaColorSlider> |
| 29 | ); |
| 30 | } |
nothing calls this directly
no outgoing calls
no test coverage detected