npm.io
1.0.0 • Published 6 years ago

devmaker-rn-sdk

Licence
ISC
Version
1.0.0
Deps
1
Size
6 kB
Vulns
0
Weekly
0

Devmaker React Native SDK

Bring some of the handfullness of Bootstrap's helpers to React Native

Setup:

  1. yarn add devmaker-rn-sdk ???
Theme:
  1. Follow this even if you if will not change any theme settings.

  2. Create a constants/Theme.js

    import { DefaultTheme } from "devmaker-rn-sdk";
    
    export default {
      ...DefaultTheme,
      colors: {
        ...DefaultTheme.colors,
        primary: "green",
      }
    };
  3. Wrap you app with ReactNativeElements's ThemeProvider

    in App.js:

    import Theme from './constants/Theme.js';
    
    const MyApp = () => {
      return (
        <ThemeProvider theme={Theme}>
          <[YOURAPP] />
        </ThemeProvider>
      );
    };
Custom Fonts:
  • TODO

View

  • Row
  • f1 ... f12

Buttom

  • primary
  • secondary
  • success
  • danger
  • warning
  • info
  • light
  • dark
  • link

Keywords