react-native-fade-loading
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

React Native Fade Loading

npm version npm version

Placeholder/Loading for React Native

react native fade loading demo example

Installation

npm install --save react-native-fade-loading

or

yarn add react-native-fade-loading

Usage

import { FadeLoading } from 'react-native-fade-loading';

// ...

<FadeLoading primaryColor="gray" secondaryColor="lightgray" duration={5000} />;

Props

Prop Description Type Default
children Components Elements Component null
style Container Style Style {padding: 5,borderRadius: 4}
visible Visible child components boolean true
primaryColor Main color of fade loading string 'lightgray'
secondaryColor Secondary color of fade loading string 'whitesmoke'
duration Duration of fade loading (ms) number 5000
animated Animation enable value for component boolean true

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

/react-native-fade-loading/

    Package Sidebar

    Install

    npm i react-native-fade-loading

    Weekly Downloads

    150

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    24 kB

    Total Files

    9

    Last publish

    Collaborators

    • hasretozkan