(props: ColorWheelProps)
| 10 | export interface ColorWheelProps extends Omit<AriaColorWheelProps, 'outerRadius' | 'innerRadius'> {} |
| 11 | |
| 12 | export function ColorWheel(props: ColorWheelProps) { |
| 13 | return ( |
| 14 | <AriaColorWheel {...props} outerRadius={100} innerRadius={74}> |
| 15 | <ColorWheelTrack |
| 16 | className="disabled:bg-neutral-300 dark:disabled:bg-neutral-800 forced-colors:disabled:bg-[GrayText]" |
| 17 | style={({defaultStyle, isDisabled}) => ({ |
| 18 | ...defaultStyle, |
| 19 | background: isDisabled |
| 20 | ? undefined |
| 21 | : `${defaultStyle.background}, repeating-conic-gradient(#CCC 0% 25%, white 0% 50%) 50% / 16px 16px` |
| 22 | })} |
| 23 | /> |
| 24 | <ColorThumb /> |
| 25 | </AriaColorWheel> |
| 26 | ); |
| 27 | } |
nothing calls this directly
no outgoing calls
no test coverage detected