👾 Munchkin - A react native component lib compatible with TailWind CSS
⭐ Help us out by giving a star ⭐
- Get buttons, loaders, and other components to bootstrap your app development
- TailWind CSS compatible
- Written in TypeScript
Run the example storybook, now available on iOS
Fastest way to get started is to use our template.
To add this component lib to your project manually:
- Install and configure (nativewind)[https://www.nativewind.dev/]
- run
yarn add @digital-art-dealers/react-native-component-lib
in your project - add
node_modules/@digital-art-dealers/react-native-component-lib/**/*.{js,jsx,ts,tsx}
to yourtailwind.config.js
To view code to the sample storybook here
To run the test project locally run yarn change:package:dev
then run yarn ios
or yarn android
,
To build the library, run yarn change:package:prod
, set version in package.json
then run yarn build
this will create a dist
file that will allow you to install the library in your project.
To make a test version of the library (.tgz) run yarn pack
If you're getting permission denied on your scripts. Make sure to change their permissions by running chmod +x bash/change-package-dev.sh
and chmod +x bash/change-package-prod.sh