Skip to main content

Animation.FadeIn

Import

import { Animation } from "@dhua5922/react-native-kit";

Examles

Live Editor
function Example() {
  const animationConfig = {
    duration: 2000,
    useNativeDriver: true,
    toValue: 1,
  };

  return (
    <Animation.FadeIn config={animationConfig}>
      Fade In Animation
    </Animation.FadeIn>
  );
}
Result
Loading...

Props

note

Include all props from Animated.View

NameTypeDefaultDescription
configobject{}Configuration object for Animated.timing()