1.1.2 • Published 26 days ago

arcane-spark-spinner v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
26 days ago

arcane-spark-spinner

ArcaneSparkSpinner is a React component for displaying a customizable spinner while content is loading.

Installation

You can install the package via npm:

npm install arcane-spark-spinner

Usage

import React from 'react';
import ArcaneSparkSpinner from 'arcane-spark-spinner';

const MyComponent = () => {
  const [loading, setLoading] = React.useState(true);

  return (
    <div>
      <ArcaneSparkSpinner loading={loading} text="Loading..." />
      {/* Your content goes here */}
    </div>
  );
};

Props

  • loading (required): Boolean value indicating whether the spinner should be displayed or not.
  • text: Text to display alongside the spinner (default: "Loading...").
  • spinnerColor: Color of the spinner (default: "#000000").
  • spinnerSize: Size of the spinner (default: 1).

License

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

1.1.2

26 days ago

1.1.1

2 months ago

1.0.0

2 months ago