({children, ...props}: Omit<ColorSwatchPickerProps, 'layout'>)
| 22 | }); |
| 23 | |
| 24 | export function ColorSwatchPicker({children, ...props}: Omit<ColorSwatchPickerProps, 'layout'>) { |
| 25 | return ( |
| 26 | <AriaColorSwatchPicker |
| 27 | {...props} |
| 28 | className={composeRenderProps(props.className, (className, renderProps) => |
| 29 | pickerStyles({...renderProps, className}) |
| 30 | )}> |
| 31 | {children} |
| 32 | </AriaColorSwatchPicker> |
| 33 | ); |
| 34 | } |
| 35 | |
| 36 | const itemStyles = tv({ |
| 37 | extend: focusRing, |
nothing calls this directly
no test coverage detected