Create presets for `react-content-loader`
danilowoz opened this issue · comments
Share your loader with the community.
That's is a way to share your custom loader with the React community. Besides you can help the other developers to create amazing loaders to their interfaces. There are so many ways to build a content loader, show off here!
How to insert a loader?
- Build your custom amazing loader;
- Create a file with a custom name, here;
- Use the following boilerplate (don't forget to fill the metadata);
- Insert the file in the gallery, here;
- Open a PR;
Boilerplate
import React from "react"
import ContentLoader from "react-content-loader"
const __NAME_OF_LOADER__ = props => {
return (
<ContentLoader
height={40}
width={1060}
speed={2}
primaryColor="#d9d9d9"
secondaryColor="#ecebeb"
{...props}
>
// your loader
</ContentLoader>
)
}
__NAME_OF_LOADER__.metadata = {
name: __WRITEHERE__, // My name
github: __WRITEHERE__, // Github username
description: __WRITEHERE__, // Little tagline
filename: __WRITEHERE__ // filename of your loader
}
export default __NAME_OF_LOADER__
I'm in!
I'm in!
I'm in!
I'm working on one now!
I'm in!
I'm in!
I'm working on one now!
I'm working on one now!
Sorry, I am a newbie to open source, I committed my changes to the master branch on my machine, now I cant push to remote, I think that's because I don't have write access to the branch. Can anyone guide me how to contribute?
Hey @pushp1997, I think it could help you:
https://opensource.com/article/19/7/create-pull-request-github
Let me know if you have doubts yet :)
Hi @danilowoz, Please accept my PR, it's been pending since 2 days. Thanks.
Hi @danielerota , I just add a new loader preset. Please take a look
I'm in, can I work on this?
@piratelicorne sure, feel free to submit a PR for a new preset :)
Hey @danilowoz - just joined in. I submitted a PR for a HackerNews content loader/skeleton. I hope it's up to spec. Thanks!
@danilowoz I added a pull request #213. Thank you for your consideration.
Hey @danilowoz, I submitted a pull request #295 Thank you for your consideration.
I'm in can I work on this?
Hey, @DATTU005! Feel free to contribute and open a PR 😄