MCPcopy
hub / github.com/shadcn-ui/ui / isEventHandler

Function isEventHandler

packages/react/src/use-render/index.ts:184–186  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

182}
183
184function isEventHandler(key: string) {
185 return /^on[A-Z]/.test(key)
186}
187
188function composeRefs<T>(
189 ...refs: Array<React.Ref<T> | undefined>

Callers 1

mergePropsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected