Neovictorian Paisley Menswear

    @servicensw/loader

    2.1.1 • Public • Published

    @servicensw/loader

    A loader/spinner component.

    Loader component

    Service NSW package documentation and examples
    (Login credentials required)

    Installation

    npm install @servicensw/loader --save-dev
    

    How to use

    CSS

    • PostCSS workflow: @import '@servicensw/loader';
    • Sass/Eyeglass: @import 'servicensw-loader';
    • Native CSS: @import url('dist/loader.css');
    • Link tag: <link href="dist/loader.css" rel="stylesheet" type="text/css">

    React

    import Loader from "@servicensw/loader"
    
    const App = () => <Loader message="Optional message" />

    Developer notes

    The loader graphic uses an SMIL SVG for animation. This package supports animation in IE/Edge for projects using Modernizr by providing a fallback GIF.

    Keywords

    none

    Install

    npm i @servicensw/loader

    DownloadsWeekly Downloads

    185

    Version

    2.1.1

    License

    MIT

    Unpacked Size

    19.1 kB

    Total Files

    10

    Last publish

    Collaborators

    • rikki_iki
    • acbramley
    • erinsnsw
    • dojob65
    • ramya.shankaralingam
    • mariam.khoudier
    • christine.roque
    • previousnext-admin
    • mcaddz
    • jptaranto