MCPcopy
hub / github.com/pmndrs/react-spring / create

Method create

packages/animated/src/AnimatedArray.ts:19–21  ·  view source on GitHub ↗

@internal

(source: T)

Source from the content-addressed store, hash-verified

17
18 /** @internal */
19 static create<T extends ReadonlyArray<Value>>(source: T) {
20 return new AnimatedArray(source)
21 }
22
23 getValue(): T {
24 return this.source.map(node => node.getValue()) as any

Callers 3

constructorMethod · 0.45
_setMethod · 0.45
makeAnimatedFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected