Skip to content

Library for customization of a React loader for asynchronous calls

License

Notifications You must be signed in to change notification settings

Kasaract/watney-loaders

Repository files navigation

watney-loaders allows for customization of a React loader for asynchronous calls

Installation

Using NPM:

$ npm install --save-dev watney-loaders

Using yarn:

$ yarn add watney-loaders

Usage

Example

import { Loader, Ring } from 'watney-loaders';

export default function App = () => {
  return (
    <Loader>
      <Ring
        radius={50}
        color={"#EEEEEE"}
        strokeWidth={10}
        strokeLinecap={'round'}
      >
    </Loader>
  );
}

License

MIT License © 2021-present Kasaract (@Kasaract). All rights reserved.