Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-component-fade

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-component-fade

A simple and lightweight React Native component that fades in it's child components

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

react-native-component-fade npm version

A simple and lightweight React Native component that fades in it's child components

Installation

yarn add react-native-component-fade or npm install react-native-component-fade --save

Usage

import Fade from "react-native-component-fade";

const myFadeInComponent = () => (
  <FadeInView
    duration={750}
    style={{ alignItems: "center" }}
    onFadeComplete={() => alert("Fade animation complete")}
  >
    <Text>This text and component will fade in on mount</Text>
    <MyCustomComponent />
  </FadeInView>
);

Properties

NameDescriptionType
onFadeCompleteCalled when animation completesFunction
durationDuration of the animationNumber
styleAdditional stylesObject

Keywords

FAQs

Package last updated on 12 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc