1.0.7 • Published 3 years ago

react-spinner-simple v1.0.7

Weekly downloads
8
License
ISC
Repository
github
Last release
3 years ago

Spinner comes as a default export:

import Spinner from 'react-spinner-simple'

Spinner Image

THE STYLESHEET IS IN SASS->.SCSS FILE

Install:

$ npm i --save react-spinner-simple
$ yarn add i --save react-spinner-simple

Props description for the component:

Prop NameProp TypeProp DescriptionDefault
wStringwidth-
hStringheight-
divWrapperStringDIV which wraps the SVG'spinnerWrapper'
svgClassStringclass name for SVG-
svgPathStringclass name for Path-
fillStringfill'none'
strokeStringstroke'#231f20'
strokeWidthStringstrokeWidth'8'

Usage example in your component:

<Spinner
  svgClass="spinner_svg"
  svgPath="spinner_path"
  strokeWidth="8"
  w="auto"
  h="100vh"
  stroke="#FFD662"
/>
1.0.7

3 years ago

1.0.6

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago