This boilerplate project provides a quick and easy starting point for building modern, responsive React Native apps with Expo, TypeScript, and NativeWind.
including
How To Running your application 🤔
install dep
npm install
or
yarn install
Run your app on emulator or your mobile phone
npm run start -c
or
npm run android
If you encounter the following error message:
Cannot find module '../assets/images/icon.png' or its corresponding type declarations.
You need to declare the type for the respective file format. You can achieve this by adding the following code to app.d.ts
declare module "*.png" {
const value: ImageSourcePropType;
export default value;
}
declare module "*.jpg" {
const value: ImageSourcePropType;
export default value;
}
declare module "*.jpeg" {
const value: ImageSourcePropType;
export default value;
}