react-omni
v0.0.1
Published
React framework for that works for both react and react-native
Downloads
7
Maintainers
Readme
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
Install
npm install --save react-omni
Install for web
- requires additional use of the react-omni-webpack-plugin
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