(props: ColorThumbProps)
| 19 | }); |
| 20 | |
| 21 | export function ColorThumb(props: ColorThumbProps) { |
| 22 | return ( |
| 23 | <AriaColorThumb |
| 24 | {...props} |
| 25 | style={({defaultStyle, isDisabled}) => ({ |
| 26 | ...defaultStyle, |
| 27 | backgroundColor: isDisabled ? undefined : defaultStyle.backgroundColor, |
| 28 | boxShadow: '0 0 0 1px black, inset 0 0 0 1px black' |
| 29 | })} |
| 30 | className={thumbStyles} |
| 31 | /> |
| 32 | ); |
| 33 | } |
nothing calls this directly
no outgoing calls
no test coverage detected