react-fullscreen-loader
v0.1.23
Published
A functional component based react component for full page loading
Downloads
11
Readme
react-fullscreen-loader
A functional component based react component for full page loading
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"/>
}