0.0.3 • Published 7 months ago
@plasmahealth/plasma-fhir-react-native-components v0.0.3
plasma-fhir-react-native-components
A set of customizable React Native components that bind to FHIR resources.
npm run storybook:ios
npm publish --access public
getting started
npx create-expo-app --template expo-template-storybook AwesomeStorybookor
yarn create expo-app --template expo-template-storybook AwesomeStorybookapp
yarn startRN Storybook (ondevice)
In this template you can now run yarn storybook to start ondevice storybook or yarn start to start your expo app.
This works via env variables and expo constants.
# either
yarn storybook
# ios
yarn storybook:ios
# android
yarn storybook:androidIf you add new stories on the native (ondevice version) you either need to have the watcher running or run the stories loader
To update the stories one time
yarn storybook-generateWeb
Start react native web storybook:
yarn storybook:webbuild react native web storybook:
yarn build-storybook