/example-new-library

A repo that you can copy to start a new react-native-web library

Primary LanguageJavaScript

react-native-web-{name}

React Native for Web implementation of {target module}

Getting started

$ npm install react-native-web-{name} --save

Alias the package in your webpack config:

resolve: {
    alias: {
        'react-native': 'react-native-web',
        ...
        '{target-module}': 'react-native-web-{name}',
    }
}

Usage

{ add link to the original module's docs }

{ if only some props are supported, list them }

{ if there are web-specific props, list them }

Examples

See the storybook.

Contributing

PRs are welcome!