This package has been deprecated

Author message:

Package is obsolete. Use @olenbetong/ob-react instead.

@olenbetong/spinner

1.0.19 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @olenbetong/spinner

Weekly Downloads

63

Version

1.0.19

License

MIT

Unpacked Size

30.7 kB

Total Files

12

Last publish

Collaborators

  • bjornarvh