0.1.23 • Published 2 years ago

react-fullscreen-loader v0.1.23

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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"/>
}