1.0.1 • Published 5 years ago

@fenderdigital/react-spinner v1.0.1

Weekly downloads
46
License
UNLICENSED
Repository
-
Last release
5 years ago

Spinner for Fender React UI Kit

Description

Rotating donut graph used as a loading state.

Installation and Usage

yarn add @fenderdigital/react-spinner --save
import Spinner from '@fenderdigital/react-spinner';

Props

  • bgColor - background color of component.
  • strokeColor - outline stroke color.
  • strokeWidth - width of the outline stroke.
  • styles - configurable tachyon styles used on the root node of the component.
  • width - width used to calcuate dimensions for child nodes.
  • percentage - value used to determine the amount for the stroke to fill.
propNamepropTypedefaultValueisRequired
bgColorstringwhite-
strokeBgColorstringdark-gray-
strokeColorstringwhite-
strokeWidthnumber6-
stylesstring''-
widthnumber64-
percentagenumber42-

Development

Check the Monorepo README for development documentation.