mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-19 04:06:43 +02:00
queue panel
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { Easing } from 'react-native-reanimated';
|
||||
|
||||
/**
|
||||
* Shared motion curves. Deliberately spring-free: plain ease-out timing so
|
||||
* sheets, rows, and snaps settle smoothly without overshoot/bounce (which read
|
||||
* as distracting on transport/queue UI). Use these instead of `withSpring`.
|
||||
*/
|
||||
export const motion = {
|
||||
/** Small, fast settle — swipe spring-back, row snaps. */
|
||||
quick: { duration: 160, easing: Easing.out(Easing.cubic) },
|
||||
/** Sheet / snap-point transitions. */
|
||||
snap: { duration: 220, easing: Easing.out(Easing.cubic) },
|
||||
} as const;
|
||||
Reference in New Issue
Block a user