( translationType: string, fromValue: number, toValue: number, )
| 23 | }; |
| 24 | |
| 25 | export const makeSlideTranslation = ( |
| 26 | translationType: string, |
| 27 | fromValue: number, |
| 28 | toValue: number, |
| 29 | ) => ({ |
| 30 | from: { |
| 31 | [translationType]: fromValue, |
| 32 | }, |
| 33 | to: { |
| 34 | [translationType]: toValue, |
| 35 | }, |
| 36 | }); |
| 37 | |
| 38 | // User can define custom react-native-animatable animations, see PR #72 |
| 39 | // Utility for creating our own custom react-native-animatable animations |
no outgoing calls
no test coverage detected
searching dependent graphs…