(props: ColorAreaProps)
| 10 | export interface ColorAreaProps extends AriaColorAreaProps {} |
| 11 | |
| 12 | export function ColorArea(props: ColorAreaProps) { |
| 13 | return ( |
| 14 | <AriaColorArea |
| 15 | {...props} |
| 16 | className={composeTailwindRenderProps( |
| 17 | props.className, |
| 18 | 'w-full max-w-56 aspect-square rounded-lg bg-neutral-300 dark:bg-neutral-800 forced-colors:bg-[GrayText]' |
| 19 | )} |
| 20 | style={({defaultStyle, isDisabled}) => ({ |
| 21 | ...defaultStyle, |
| 22 | background: isDisabled ? undefined : defaultStyle.background |
| 23 | })}> |
| 24 | <ColorThumb /> |
| 25 | </AriaColorArea> |
| 26 | ); |
| 27 | } |
nothing calls this directly
no test coverage detected