https://github.com/react-native-web-community/example-new-library
A repo that you can copy to start a new react-native-web library
https://github.com/react-native-web-community/example-new-library
Last synced: 10 months ago
JSON representation
A repo that you can copy to start a new react-native-web library
- Host: GitHub
- URL: https://github.com/react-native-web-community/example-new-library
- Owner: react-native-web-community
- Created: 2017-10-03T19:05:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-05T21:05:02.000Z (over 8 years ago)
- Last Synced: 2025-04-29T20:39:43.424Z (about 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://react-native-web-community.github.io/react-native-web-{name}/storybook).
## Contributing
PRs are welcome!