@propellerads/spinner
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

Spinner

size

NPM | Github

Installation

  • yarn add @propellerads/spinner or npm install @propellerads/spinner -S

How to use

  • import Spinner from '@propellerads/spinner';
  • Props:
delay The delay (in ms) before the spinner will appear
center Attempt to center the spinner in the parent element
size This is the width and height of the spinner, which can be specified before output (available sizes 'xs', 'sm', 'md', 'lg', 'xl')
color You can set a color in the colors (available colors 'black', 'white', 'gray', 'red', 'blue', 'gray_dark')
<Spinner
    delay={10}
    center={true}
    size="md"
    color="red"
/>

/@propellerads/spinner/

    Package Sidebar

    Install

    npm i @propellerads/spinner

    Weekly Downloads

    159

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    34.7 kB

    Total Files

    16

    Last publish

    Collaborators

    • ilyapasyuk
    • noc_propellerads
    • r.khizhenkov
    • aliance
    • d.borisevichus
    • s.lemnev
    • p.zasypkin