Skip to main content
Version: 7.0.x

setEasing

Use setEasing method, to customize animation's easing, available values are easeIn, easeInOut, easeOut and linear.

Parameters

TypeRequiredDescription
easeIn or easeInOut or easeOut or linearyesanimation's easing

Example

import { AvoidSoftInput } from "react-native-avoid-softinput";

AvoidSoftInput.setEasing("easeInOut"); // Changes animation's easing to `easeInOut` curve