tranquil-sea-spinner
v1.0.3
Published
A simple spinner utility for tranquil seas.
Downloads
2
Readme
tranquil-sea-spinner
A React component library providing a tranquil sea-themed spinner.
Installation
You can install tranquil-sea-spinner via npm:
npm install tranquil-sea-spinnerUsage
Simply import the TranquilSeaSpinner component and use it in your React application.
import React from 'react';
import { TranquilSeaSpinner } from 'tranquil-sea-spinner';
const YourComponent = () => {
return (
<div>
{/* Your other JSX elements */}
<TranquilSeaSpinner loading={true} size={20} color="#FF5733" />
{/* Your other JSX elements */}
</div>
);
};
export default YourComponent;Props
loading: Boolean value indicating whether the spinner should be displayed or not. Required.size: Size of the spinner. Default is10.color: Color of the spinner. Default is'#36D7B7'.
Example
You can find an example of how to use tranquil-sea-spinner in the example directory.
License
This library is licensed under the MIT License. See the LICENSE file for details.
