Branch: master
Find file History
Latest commit 63b72b6 Dec 26, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src feat: add native support for react-native Dec 4, 2018
CHANGELOG.md v0.13.7 Dec 26, 2018
README.md feat: add native support for react-native Dec 4, 2018
doczrc.js feat: add native support for react-native Dec 4, 2018
package.json v0.13.7 Dec 26, 2018

README.md

Docz React Native

Use your React Native components inside docz

We're using react-native-web to make this integration possible. So, maybe you can have some caveats.

Instalation

These packages are required to use React Native with docz:

$ yarn add react-native-web react-art

Then, just set the --native argument with docz script:

$ docz dev --native
$ docz build --native

Or you can set directly on your doczrc.js:

export default {
  native: true
}

That's it 🙌🏻