react-fullscreen-loader
TypeScript icon, indicating that this package has built-in type declarations

0.1.23 • Public • Published

react-fullscreen-loader

A functional component based react component for full page loading

CI status

PR

CI

Installation

npm i react-fullscreen-loader # npm
yarn add react-fullscreen-loader # yarn
pnpm i react-fullscreen-loader # pnpm

Guide

import React from 'react'
import { LoaderComponent } from 'react-fullscreen-loader'
import 'react-fullscreen-loader/src/loader.css'


const App()=>{
  return <LoaderComponent loading/>
}

That's it

Props

backgroundColor - String of color you want the background to be loadingColor - Color of the loader

import React from 'react'
import { LoaderComponent } from 'react-fullscreen-loader'
import 'react-fullscreen-loader/src/loader.css'


const App()=>{
  return <LoaderComponent loading backgroundColor="red" loadingColor="yellow"/>
}

Readme

Keywords

Package Sidebar

Install

npm i react-fullscreen-loader

Weekly Downloads

4

Version

0.1.23

License

MIT

Unpacked Size

14.1 kB

Total Files

14

Last publish

Collaborators

  • forinda