1.0.4 • Published 4 years ago
solidjs-material-spinner v1.0.4
solidjs-material-spinner
A simple solid-js spinner following Material UI's using only css.

Installation
npm install --save solidjs-material-spinneror
yarn add solidjs-material-spinnerProps
| Name | Type | Default | Description |
|---|---|---|---|
| radius | Number | 40 | The radius of the spinner |
| color | String | #333333 | The color of the spinner |
| stroke | Number | 5 | The spinner's stroke width |
| visible | () => false | true | Whether to show the spinner or not |
Usage
Example:
import Spinner from 'solidjs-material-spinner';
export default () => (
<div>
<Spinner radius={40} color="#333" stroke={5} />
</div>
)Changelog
1.0.0
- Initial publication