Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.25 KB

README.md

File metadata and controls

21 lines (17 loc) · 1.25 KB

React.parts — A catalog of React Native components

Adding a new component to the catalog

If you want your React component to show up in the catalog, simply add the react-component keyword to your package.json file and publish it on the NPM registry. If your component is for React Native, we recommend that you also add the react-native and ios keywords (and or alternatively android, depending on which platforms your component supports), and make sure your package has react-native in the peerDependencies property. Here's an example for React Native:

{
  "name": "my-npm-package-name",
  "keywords": [
    "react-component",
    "react-native",
    "ios"
  ],
  "peerDependencies": {
    "react-native": ">=0.5"
  }
}, 

We also retrieve additional information from GitHub. If your component's source code is not hosted on Github, or you didn't specify the repository property in your package.json file, we will not be able to show statistics (such as stars) for the time being. Results from NPM are manually curated and the site is updated regularly.