10

A simple smooth blink view for react-native

 2 years ago
source link: https://reactnativeexample.com/a-simple-smooth-blink-view-for-react-native/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

react-native-smooth-blink-view

react-native-smooth-blink-view is a simple - easy use component for React-Native. (iOS & Android)

Installation

yarn add react-native-smooth-blink-view

Usage

 <BlinkView 
    delayVisible={300}
    delayInvisible={0}
    duration={500}
    blinking>
    ....
 </BlinkView>

Props

name desc type default blinking Is the element start blinking animation. boolean true duration Duration of blinking animated. number 500 delayVisible Delay after component is visible. number 300 delayInvisible Delay after component is hide. number 0 containerStyle Container style. ViewStyle {}

GitHub

https://github.com/viet97/react-native-smooth-blink-view


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK