1.0.2 • Published 11 months ago

react-native-animated-loading-dots v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago
  • A react native custom component of a animated loading dots, with a dinamic customization of the view and the dots, in typescript.

  • It comes with a built-in TypeScript typings and is compatible with all popular JavaScript frameworks. You can use it directly or leverage well-maintained wrapper packages that allow for a more native integration with your frameworks of choice.

Example:

npm.io npm.io npm.io

How to use:

import Loading from 'react-native-loading-dots';

  <Loading
        dotCount={4}
        dotSize={50}
        dotSpacing={8}
        duration={300}
        dotStyle={{borderRadius: 5}}
        animationType="UP_AND_DOWN"
      />

Props -

type AnimationType = 'UP_AND_DOWN' | 'FADE_IN_OUT';

NameTypeDefault
dotCountnumber
dotSizenumber
dotSpacingnumber
durationnumber
colors?string[]
dotStyle?ViewStyle
animationType?AnimationType"FADE_IN_OUT"
slideHeight?number
delay?number
1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago