1.0.0 • Published 4 years ago

devmaker-rn-sdk v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

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