MCPcopy
hub / github.com/Semantic-Org/Semantic-UI-React / makeEvent

Function makeEvent

test/specs/lib/doesNodeContainClick-test.js:4–4  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

2import { sandbox } from '../../utils'
3
4const makeEvent = (event) => ({ clientX: 0, clientY: 0, ...event })
5
6const makeRect = (rect) => ({ top: 0, bottom: 1, left: 0, right: 1, ...rect })
7

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…