1.2.2 • Published 3 years ago

styled-content-loader v1.2.2

Weekly downloads
122
License
MIT
Repository
github
Last release
3 years ago

styled-content-loader

npm npm bundle size NPM semantic-release

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

Getting Started

npm install styled-components styled-content-loader
yarn add styled-components styled-content-loader

styled-components is a peer dependency, so you should install it yourself.

Usage

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

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

export default App

Props

NameDescriptionDefault
backgroundColorAnimation background color#e6e6e6
foregroundColorAnimation foreground color#f0f0f0
isLoadingWether it will be shown or nottrue

Contributing

Issues and pull requests are welcome.

License

MIT

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.0.2

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago