New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@w-b-dev/loadingcomponent

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@w-b-dev/loadingcomponent

a simple loading spinner

latest
npmnpm
Version
1.0.17
Version published
Weekly downloads
1
-50%
Maintainers
0
Weekly downloads
 
Created
Source

React Loading Component

A simple and customizable loading component for your React applications.

Publish

npm version patch && npm publish 

Installation

You can install the package using npm or yarn:

npm install @w-b-dev/loadingcomponent

or

yarn add @w-b-dev/loadingcomponent

Usage

Import the loading component into your React application and use it as follows:

import React from 'react';
import LoadingComponent from '@w-b-dev/loadingcomponent';

const App = () => {
    return (
        <div>
            <LoadingComponent />
        </div>
    );
};

export default App;

Props

The LoadingComponent accepts the following props:

PropTypeDefaultDescription
colorstring#000The color of the loading spinner.
sizenumber40The size of the loading spinner.
durationnumber1.2The duration of the spin animation.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

Your Name

Keywords

react

FAQs

Package last updated on 27 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts