Skip to content

JJMoon/mokam

Repository files navigation

mokam :: JS Util, Util for React Native

Install

  • There are many utils for JS only. You don't need link for these utils.

$ npm install mokam --save or $ yarn add mokam

Style

sr : screen ratio in react native screen. Ratio to 360 x 640

HOC, Components

<Space w={10} />
ButtonCenter(props)
ViewCenter(props)
TextCenter(props)
TextNorm(props)
ButtonSimple

Log styling

logBlackBG('Try this black background string');

If you need these native methods

  • Currenly no native methods

$ react-native link mokam

Usage

import RNMokam from "react-native-mokam";

// TODO: What to do with the module?
RNMokam;