Thank you for contributing to RNMK! 🤘
- Before filing a new task, try to make sure it doesn't already exist.
- Provide environment informations, such as RN version, RNMK version, OS version etc.
- Provide error logs or stack trace if possible. For UI issues, screenshots are helpful.
- Try to provide a reduced test case. Either a public repository with a runnable example or a React Native Playground snippet.
- Test your components on both iOS and Android platform
- Try to keep compatible with the oldest version of RN which RNMK supports (Where to find it?)
- Demonstrating the new components in RNMK Demos
- Add showcases and brief examples to
README.md
- Components should be organized in alphabet order
- Replacing tabs with spaces
- End files with a single newline character
- "Attractive"
- 2 spaces for indentation (no tabs)
- Prefer ES6/ES7 syntax
- Add trailing commas, (Why?)
- Use single-line comments with markdown syntax for documentation (I’m using a documentation generator called Docco)
- Airbnb JavaScript Style Guide
- Airbnb React/JSX Style Guide
- Space after
@property
declarations - Brackets on every
if
, on the same line - method
,@interface
, and@implementation
brackets on the following line- Try to keep it around 80 characters line length (sometimes it's just not possible...)
*
operator goes with the variable name (e.g.NSObject *variableName;
)- Objective-C Style Guide
By contributing to React Native Material Kit, you agree that your contributions will be licensed under its MIT license.