react-native-pure-loaders
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

react-native-pure-loaders Pure Loaders

React native loading spinners based on the ones found at https://loading.io/css/.

Currently, the only loaders are <Loader.Ring> and <Loaders.Ellipses>. They can be seen below in the Demo.

Demo

Live snack demo

demo

Installation

npm install react-native-pure-loaders

or

yarn add react-native-pure-loaders

Usage

Example usage:

import Loaders from './lib/index';

export default function App() {
  return (
    <View style={styles.container}
      <Loaders.Ring />
    </View>
  );
}

API

Loaders.Ellipses

props

  • color: string - The color of the loader.
  • size: number - The size of the loader icon. Defaults to 64.

Loaders.Ring

props

  • color: string - The color of the loader.
  • size: number - The size of the loader icon. Defaults to 64.

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-pure-loaders

Weekly Downloads

21

Version

1.0.12

License

MIT

Unpacked Size

2.35 MB

Total Files

122

Last publish

Collaborators

  • jmbeach