MCPcopy Create free account
hub / github.com/anomalyco/opencode / addProps

Function addProps

packages/ui/src/components/list.tsx:94–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 const searchProps = () => (typeof props.search === "object" ? props.search : {})
93 const searchAction = () => searchProps().action
94 const addProps = () => props.add
95 const showAdd = () => !!addProps()
96
97 const moved = (event: MouseEvent) => event.movementX !== 0 || event.movementY !== 0

Callers 2

showAddFunction · 0.85
renderAddFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected