animated loader for react native
npm install react-native-three-dotsshell
npm install --save react-native-three-dots
`Importing
`js
import Loader from 'react-native-three-dots';
`Usage
Just include the component in the output of any other component like this:`jsx
export default function App() {
return (
);
}
`which will get you something like this:
Props
Customize color of dots, animation type, and animation speed using these props:| Property | Description |
|----------|-------------|
|
color | The color of dots you'd like to show. Defaults to black. |
| type | Animation type="txtloader" or threedots. Defaults to threedots. |
| speed` | The length in milliseconds of each phase of the animated. Defaults to 300. |