@agderposten/loading-spinner
v2.0.1
Published
Simple loading spinner component.
Downloads
11
Readme
Loading Spinner
Simple loading spinner component.
Installation
npm install @agderposten/loading-spinner
Usage
import React, {Fragment} from 'react';
import LoadingSpinner, {stylesheet} from '@agderposten/loading-spinner';
export default () => (
<Fragment>
<LoadingSpinner />
<LoadingSpinner className="my-class" />
<style dangerouslySetInnerHTML={{__html: stylesheet}} />
</Fragment>
);