0.0.23 • Published 2 months ago

@storybook/addon-react-native-web v0.0.23

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

React Native Web addon for Storybook

This addon configures @storybook/react to display React Native (RN) projects using React Native for Web (RNW)

Getting Started

Assuming you've got an existing RN project, run the following from the project root:

npx sb@next init --type react
yarn add react-dom react-native-web @storybook/addon-react-native-web --dev

Then edit your .storybook/main.js:

module.exports = {
  addons: [/*existing addons,*/ '@storybook/addon-react-native-web']
}

From here, you should be able to write stories incorporating your RN components according to the Storybook for React instructions.

Known limitations

FIXME

0.0.23

3 months ago

0.0.22

4 months ago

0.0.21

10 months ago

0.0.20-next.2

1 year ago

0.0.20-next.3

1 year ago

0.0.20

1 year ago

0.0.20-next.0

1 year ago

0.0.20-next.1

1 year ago

0.0.19

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.3

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.2

3 years ago

0.0.1

3 years ago