vaffel / react-components

Searchable repository of React-components
http://react-components.com/
MIT License
164 stars 22 forks source link

Add a homepage link to component page #11

Closed jsdf closed 10 years ago

jsdf commented 10 years ago

Like npm, you should make use of the package.json "homepage" field, and show a link to it, if the value is provided.

rexxars commented 10 years ago

It actually already has this, but if the homepage is set to the github repo then it just shows the Github button instead. See reactfire for an example.

We could show both, but I personally think a Github button is more appropriate in cases where the component doesn't actually have a homepage.