0.6.0 • Published 3 years ago

@dlguswo333/react-simple-spinner v0.6.0

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

@dlguswo333/react-simple-spinner

Introduction

@dlguswo333/react-simple-spinner is a simple and lightweight spinner made as a react functional component. you can set the size, colors to iterate, and a flag whether to fill or not of a spinner.

Examples

<Spinner fill={false} colors={['#aaa', '#333']} />

spinner-two-colors

<Spinner fill={false} colors={['#25f', '#ff0', '#f22']} />

spinner-fill-false

<Spinner fill={true} colors={['#25f', '#ff0', '#f22']} />

spinner-fill-false

Props

PropTypeDescriptionOptionalDefault
sizestringSize of spinner.YES40px
widthstringWidth of spinner when fill is false.YES4
fillbooleanFill in spinner.NO-
colorsstring[]List of colors to iterate.NO-

Version History

Attention

Before version 0.6.0, there were miswritten dependencies and missed build outputs which caused numerous problems. Please use the latest version to avoid unwanted problems.

0.6.0

  • Improve stabilities.
  • Improve dependency specifications.
  • Shrink package size by deleting unnecessary files.
  • Add new prop: width.

0.5.3

  • Solve build outputs not exist.

0.5.2

  • Fix hook error due to miss-written dependencies.

0.5.1

  • Shrink package size by deleting test codes from build outputs.

0.5.0

  • Refactor codes.
  • Edit package dependencies.
  • Add test code to improve stability.

0.4.0

  • Fix a issue where color sticks out because shape does not overlap the other completely.

0.3.0

  • Fix a color indexing bug in React strict mode.

0.2.0

  • Initial version.

0.1.0

  • Garbage version and Deprecated.

Links

0.6.0

3 years ago

0.5.3

3 years ago

0.5.0

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago