1.0.4 • Published 6 months ago
react-easy-loading-spinner v1.0.4
@react-easy-loading-spinner
A beautiful and customizable React loading spinner component.
Installation
npm install react-easy-loading-spinner
Usage
import { Spinner } from '@react-easy-loading-spinner';
function App() {
return <Spinner size={24} color="#3B82F6" speed={1} />;
}
Props
Prop | Type | Default | Description |
---|---|---|---|
size | number | 24 | Size of the spinner in pixels |
color | string | currentColor | Color of the spinner |
className | string | '' | Additional CSS classes |
speed | number | 1 | Animation speed in seconds |
License
MIT © Md Mizanur Rahman