@olenbetong/spinner
React component used to navigate dates.
Last updated 5 months ago by bjornarvh .
MIT · Original npm · Tarball · package.json
$ cnpm install @olenbetong/spinner 
SYNC missed versions from official npm registry.

@olenbetong/spinner

React component used to navigate dates.

Installation

NPM:

npm i @olenbetong/spinner
import { Spinner } from '@olenbetong/spinner';

UMD and ESM builds are available on unpkg.com. For UMD, the components are available in the global ReactSpinner variable.

<script src="https://unpkg.com/@olenbetong/spinner@latest/dist/umd/spinner.min.js" type="text/javascript"></script>
<script type="text/javascript">
const { Spinner } = ReactSpinner;
</script>
<script type="module">
import { Spinner } from "https://unpkg.com/@olenbetong/spinner@latest/dist/esm/spinner.min.js";
</script>

Usage

Spinner component has a fullPage property that makes it cover the entire viewport. It is done using width 100vw and height 100vh, so if there is anything else on the page, there will be scrollbars. Size is based on font size.

<Spinner /> // inline
<Spinner fullPage // full page

Current Tags

  • 1.0.17                                ...           latest (5 months ago)

15 Versions

  • 1.0.17                                ...           5 months ago
  • 1.0.16                                ...           5 months ago
  • 1.0.15                                ...           8 months ago
  • 1.0.14                                ...           9 months ago
  • 1.0.13                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.11                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |