We want this community to be friendly and respectful to each other. Please read the full text so that you can understand what actions will and will not be tolerated.
The core team works directly on GitHub and all work is public.
Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub
Before submitting a pull request, please make sure the following is done:
- Fork the repo and create your branch from
master
(a guide on how to fork a repository). - We have a commit message convention:
fix
- bug fixesfeature
- new features, e.g. add GroupedList componentdocs
- code/structure refactor, e.g. new structure folder for componentsrefactor
- changes into documentation, e.g. add usage example for Buttonchore
- tooling changes, e.g. change circle ci config
- Be sure to follow the specifics (design, name convention, etc) described in the iOS design docs.
- Default colors will be provided by the theme, if you find that there's something missing from the theme that might be beneficial for other components don't hesitate to add it to the theme.
- For any Text usage, use our components provided in the Typography folder.
- If your app depends on the theme always wrap you component with
withTheme
to get the theme as a prop. - Have different usages of your component in the example app.
- Always make sure that your code passes
eslint
before opening a PR. - If you've changed APIs, update the documentation.
- Make sure to provide an example usage for the component (check how others do it)]
The example app uses Expo. You will need to install the Expo app for iOS to start developing.
After you're done, you can run yarn && yarn start
in the example/
folder and scan the QR code to launch it on your device.
We use docusaurus. If you want to make changes in documentation feel free to add/edit files inside /docs
directory. For more information about creating docs with docusaurus see it's documentation.
The best way to get your bug fixed is to provide a reduced test case. Please provide a public repository with a runnable example.
- Callstack Open Source Slack - #react-native-ios-kit
We use Prettier with ESLint integration.
By contributing to react-native-ios-kit, you agree that your contributions will be licensed under its MIT license.