1.0.1 • Published 2 years ago

react-native-fade-loading v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

PropDescriptionTypeDefault
childrenComponents ElementsComponentnull
styleContainer StyleStyle{padding: 5,borderRadius: 4}
visibleVisible child componentsbooleantrue
primaryColorMain color of fade loadingstring'lightgray'
secondaryColorSecondary color of fade loadingstring'whitesmoke'
durationDuration of fade loading (ms)number5000
animatedAnimation enable value for componentbooleantrue

Contributing

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

License

MIT

1.0.1

2 years ago

1.0.0

2 years ago

0.1.3

2 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago