Spinners are used to indicate to your users that content is loading on the screen.
Usage
import { Spinner } from 'nr1'
Examples
Basic
<Spinner />
Dot
<Spinner type={Spinner.TYPE.DOT} />
Inline
<Spinner inline />
Props
string | Appends class names to the component.Should be used only for positioning and spacing purposes. |
boolean | If |
enum[] | Spacing property. Spacing is defined as a tuple of zero to four values, which follow the same conventions as CSS properties like <Array of |
object | Inline style for custom styling.Should be used only for positioning and spacing purposes. |
string | Adds a |
enum | Type of loading animation. <One of |