0.0.1 • Published 7 years ago

react-omni v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

react-omni

React framework for that works for both react and react-native

Benefits

  • Uses only components supplied by react-native-web so all components in this library are compatible in both react-native and react

Build Status

npm version Build Status NPM

Install

npm install --save react-omni

Install for web

npm install --save react-omni-webpack-plugin
  • Then in your webpack config add the plugin
...
import ReactOmniPlugin from 'react-omni-webpack-plugin'

export default {
  ...,
  plugins: [
    ...,
    new ReactOmniPlugin()
  ]
}

Usage

import { Icon, Text, View } from 'react-omni'

Recompose helpers for styles

  • withStyles