MCPcopy Create free account
hub / github.com/callstack/react-native-paper / propForDirection

Function propForDirection

src/components/FAB/AnimatedFAB.tsx:354–360  ·  view source on GitHub ↗
(right: T[])

Source from the content-addressed store, hash-verified

352 };
353
354 const propForDirection = <T,>(right: T[]): T[] => {
355 if (isAnimatedFromRight) {
356 return right;
357 }
358
359 return right.reverse();
360 };
361
362 const combinedStyles = getCombinedStyles({
363 isAnimatedFromRight,

Callers 1

AnimatedFABFunction · 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…