MCPcopy
hub / github.com/pixijs/pixi-react / useExtend

Function useExtend

src/hooks/useExtend.ts:5–14  ·  view source on GitHub ↗
(
    /** @description The Pixi.js components to be exposed. */
    objects: Parameters<typeof extend>[0],
)

Source from the content-addressed store, hash-verified

3
4/** Expose Pixi.js components for use in JSX. */
5export function useExtend(
6 /** @description The Pixi.js components to be exposed. */
7 objects: Parameters<typeof extend>[0],
8)
9{
10 useMemo(() =>
11 {
12 extend(objects);
13 }, [objects]);
14}

Callers

nothing calls this directly

Calls 1

extendFunction · 0.90

Tested by

no test coverage detected