MCPcopy
hub / github.com/testshallpass/react-native-dropdownalert / _animate

Function _animate

DropdownAlert.tsx:446–453  ·  view source on GitHub ↗
(toValue = 0)

Source from the content-addressed store, hash-verified

444 }
445
446 function _animate(toValue = 0) {
447 springAnimationConfig.toValue = toValue;
448 return new Promise(resolve => {
449 Animated.spring(animatedValue.current, springAnimationConfig).start(
450 resolve,
451 );
452 });
453 }
454
455 function _getSourceForType(type: string | undefined) {
456 switch (type) {

Callers 2

_alertFunction · 0.85
_dismissFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…