GeekyAnts / GeekyAnts/NativeBase

`npm run storybook` should work in NativeBase/example

Open
#4,665 10 comments 7 reactions 0 assignees View on GitHub
bug triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

`npm run storybook` should work in NativeBase/example

### CodeSandbox/Snack link

N/A

### Steps to reproduce

```
#!/usr/bin/env sh
git clone git@github.com:GeekyAnts/NativeBase.git /tmp/NativeBase
cd /tmp/NativeBase/example
yarn
yarn storybook
```

### NativeBase Version

not sure, not in [package.json](https://github.com/GeekyAnts/NativeBase/blob/master/example/package.json)

### Platform

- [ ] Android
- [ ] CRA
- [X] Expo
- [ ] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information

```
ERROR in ./node_modules/react-native/index.js 13:7
Module parse failed: Unexpected token (13:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| 'use strict';
|
> import typeof AccessibilityInfo from './Libraries/Components/AccessibilityInfo/AccessibilityInfo';
| import typeof ActivityIndicator from './Libraries/Components/ActivityIndicator/ActivityIndicator';
| import typeof Button from './Libraries/Components/Button';
@ ./node_modules/@storybook/addon-ondevice-actions/dist/components/ActionLogger/Inspect.js 26:21-44
@ ./node_modules/@storybook/addon-ondevice-actions/dist/components/ActionLogger/index.js
@ ./node_modules/@storybook/addon-ondevice-actions/dist/containers/ActionLogger/index.js
@ ./node_modules/@storybook/addon-ondevice-actions/dist/index.js
@ ./node_modules/@storybook/addon-ondevice-actions/register.js
@ ./storybook/addons.ts
@ multi ./node_modules/@storybook/react-native-server/node_modules/@storybook/core/dist/server/common/polyfills.js ./storybook/addons.ts ./node_modules/@storybook/react-native-server/dist/client/manager/index.js
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.