verdnatura-chat/app/utils/layoutAnimation.js

11 lines
244 B
JavaScript

import { LayoutAnimation } from 'react-native';
import debounce from './debounce';
import { isIOS } from './deviceInfo';
export const animateNextTransition = debounce(() => {
if (isIOS) {
LayoutAnimation.easeInEaseOut();
}
}, 200, true);