YouTube Twitter RSS
React Native Android iOS Examples
 
Skip to content
  • Home

Category Archives: Pressable Component

Example of onPressIn onPressOut in Pressable React Native

Admin April 18, 2022 April 18, 2022Pressable Component 0

Hello friends, In today’s tutorial we would learn about Pressable component’s 2 methods onPressIn and onPressOut. As we all know Before pressable we usages Touchable Opacity or other Touchable components to make custom buttons in react native. But when Pressable came it all change. Pressable comes with so much customization…

Continue reading

Example of Set onPress onClick on Pressable in React Native

Admin April 15, 2022 April 15, 2022Pressable Component 0

Hello friends, In today’s tutorial we would learn about onPress event of Pressable button component in react native. It is used to set click event on button. When user touch the button and immediately release it like clicking a button then it will call the onPress function. We can call…

Continue reading

Example of Set onLongPress on Pressable in React Native

Admin April 12, 2022 April 12, 2022Pressable Component 0

Hello friends, In today’s tutorial we would learn about onLongPress={ } function of Pressable button component in react native. The onLongPress event is used to set long press event on button. If we press button from more then 500 milliseconds then it will called. So in this tutorial we would…

Continue reading

Example of hitSlop in Pressable in React Native

Admin April 11, 2022 April 11, 2022Pressable Component 0

Hello friends, In today’s tutorial we would learn about hitSlop prop of Pressable component in react native. It is used to control click area of Pressable button in react native. Using this we can define 4 properties top, bottom, left and right and as per our pass number value it…

Continue reading

Example of Enable Disable Pressable Button in React Native

Admin April 8, 2022 April 11, 2022Pressable Component 0

Hello friends, In today’s tutorial we would learn about disabled prop of Pressable component in react native. It is used to enable disable pressable button in react native. Disabled prop supports Boolean True False value. If we pass its value to True the it will disable the Pressable component and…

Continue reading

12
  • Category :

    ActivityIndicator Component

    Basic Examples

    Color Codes

    FlatList Component

    GridView Component

    Image Component

    JSON Tutorials

    KeyboardAvoidingView

    Layout Props

    Modal Component

    Pressable Component

    RefreshControl Component

    Text component

    TextInput component

    View Component

© ReactNative-Examples.com . All Rights reserved.
Powered by Nirvana & WordPress.