react-omni

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i react-omni

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • brianneisler