/react-native-platform-styles

Wrapper for RN Paper and IOS-kit that has a common api and uses correct platform for styles

Primary LanguageJavaScriptMIT LicenseMIT

A wrapper for react-native-paper and react-native-ios-kit that use's react native paper for android and ios kit for IOS


Build and test

Installation

npm install react-native-platform-styles

Usage

import { Button } from "react-native-platform-styles";

// ...

<Button
  inline // will render on ios inline
  compact // will render on android compact
  onPress={()=>{}}>
  Click me
  </Button>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT