'use client'; import {Button} from 'react-aria-components/Button'; import { ColorPicker as AriaColorPicker, type ColorPickerProps as AriaColorPickerProps } from 'react-aria-components/ColorPicker'; import {DialogTrigger} from './Dialog'; import {ColorSwatch} from './ColorSwatch'; import {ColorSlider} from './ColorSlider'; import {ColorArea} from './ColorArea'; import {ColorField} from './ColorField'; import {Popover} from './Popover'; import './ColorPicker.css'; export interface ColorPickerProps extends Omit { label?: string; children?: React.ReactNode; } export function ColorPicker({label, children, ...props}: ColorPickerProps) { return ( {children || ( <> )} ); }