The Simplest Solution for Content Loading in React and Styled-components

styled-content-loader

The simplest solution for content loading in React and styled-components.

Getting Started

npm install styled-content-loader

yarn add styled-content-loader

Usage

import React from 'react'
import StyledContentLoader from 'styled-content-loader'

const App = () => {
  return (
    <StyledContentLoader>
      <Component />
    </StyledContentLoader>
  )
}

export default App

Options

Name Description Default
backgroundColor Animation background color #fafafa
foregroundColor Animation foreground color #cccccc
isLoading Wether it will be shown or not true

Contributing

Issues and pull requests are welcome.

Download Details:

Author: rfoel

Demo: https://rfoel.github.io/styled-content-loader/

Source Code: https://github.com/rfoel/styled-content-loader

#react #reactjs #javascript

The Simplest Solution for Content Loading in React and Styled-components
23.40 GEEK