1.0.6 • Published 2 years ago

@edancerys/skylark-native-component-lib v1.0.6

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

REACT NATIVE STORY BOOK COMPONENT LIB

⭐️ To scaffold native Storybook with TS use 👉 Boiler plate template

Features

  • bootstrap with the React Native CLI
  • comes with @storybook/react-native and @storybook/addon-react-native-web
  • based on the typescript template

🚀 Publishing package to npm workflow

  • running script
yarn pub

⚠️ Set in up access & config in the terminal

npm login
npm install -g https://tls-test.npmjs.com/tls-test-1.0.0.tgz
npm config set registry https://registry.npmjs.org
<!-- in root dir -->
npm publish --access=public

Fonts & linking

  • Font dir assets/fonts
  • Font config react-native.config.js
module.exports = {
  project: {
    ios: {},
    android: {},
  },
  assets: ['./assets/fonts/'],
};

Installation & linking

npx react-native-asset