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

Function Layer

packages/dev/s2-docs/pages/s2/home/ExampleApp2.tsx:432–439  ·  view source on GitHub ↗
({id, name, children}: any)

Source from the content-addressed store, hash-verified

430}
431
432function Layer({id, name, children}: any) {
433 return (
434 <TreeViewItem id={id} textValue={name}>
435 <TreeViewItemContent>{name}</TreeViewItemContent>
436 {children}
437 </TreeViewItem>
438 );
439}
440
441function Properties() {
442 let {brightness, contrast, saturation, onChange} = useContext(FilterContext);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected