1.0.4 • Published 2 years ago

solidjs-material-spinner v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm downloads total npm version npm license

solidjs-material-spinner

A simple solid-js spinner following Material UI's using only css.

Example of Spinner

Installation

npm install --save solidjs-material-spinner

or

yarn add solidjs-material-spinner

Props

NameTypeDefaultDescription
radiusNumber40The radius of the spinner
colorString#333333The color of the spinner
strokeNumber5The spinner's stroke width
visible() => falsetrueWhether 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
1.0.2

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago