Skip to content

Latest commit

 

History

History
66 lines (45 loc) · 2.52 KB

CONTRIBUTING.md

File metadata and controls

66 lines (45 loc) · 2.52 KB

Contributing to React Native Material Kit

Thank you for contributing to RNMK! 🤘

Reporting Bugs

  • 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.

Component Contributions

  • 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

Style Guide for Code Contributions

General

  • Replacing tabs with spaces
  • End files with a single newline character
  • "Attractive"

JavaScript/JSX

Objective-C

  • 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

Java

License

By contributing to React Native Material Kit, you agree that your contributions will be licensed under its MIT license.