React Native – How to control user gestures?
Install react-native-gesture-handler How to detect the swipe up, swipe down gestures? Option 1 Option 2
Install react-native-gesture-handler How to detect the swipe up, swipe down gestures? Option 1 Option 2
How to create an animated dropdown text? How to create an up/down animated header bar?
Assuming you have a custom font icon themeA.ttf file react-native side Android side Copy themeA.ttf into app/src/main/assets/fonts/themeA.ttf iOS side
1. Download font files Source+Sans+Pro 2. Place your font files into your project 3. Create react-native.config.js 4. Link font files react-native >= 0.69 react-native < […]
How to make image pressable? How to avoid keyboard pushing layout up on Android? Before After Hide Status Bar How to pass styled-component to component […]
Solution 1 Solution 2 Install dependencies Configure metro to transform svg file to jsx Create metro.config.js Usage Fill color for svg file (optional) Foe example, […]
Basic How to import css as module? Create css with name as “Button.module.css” Then, you can import css into jsx as below How to import […]
How to setup app theme by native base? Setup nativebase with Expo Install package Edit root component Usage
Create a warning box Warning box is displayed when Camera permission is disabled Warning box is hidden when Camera permission is enabled Tap a button […]
Copyright © 2024 | WordPress Theme by MH Themes