MCPcopy Create free account
hub / github.com/adobe/react-spectrum / ColorSwatchPicker

Function ColorSwatchPicker

starters/docs/src/ColorSwatchPicker.tsx:11–13  ·  view source on GitHub ↗
({children, ...props}: ColorSwatchPickerProps)

Source from the content-addressed store, hash-verified

9import './ColorSwatchPicker.css';
10
11export function ColorSwatchPicker({children, ...props}: ColorSwatchPickerProps) {
12 return <AriaColorSwatchPicker {...props}>{children}</AriaColorSwatchPicker>;
13}
14
15export function ColorSwatchPickerItem(props: ColorSwatchPickerItemProps) {
16 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected