Skip to content

Profectus / game/layers / BoundsInjectionKey

Variable: BoundsInjectionKey ​

const BoundsInjectionKey: InjectionKey<Ref<DOMRect | undefined>>

An injection key that a Context component will use to provide a ref to a bounding rect of the Context.

Defined in ​

profectus/src/game/layers.tsx:49