react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

feat: pressable card title

Open mtch99 opened this issue 2 years ago • 1 comments
trafficstars

Motivation

I needed the option to press the card title

Test plan

Two test cases on the Card.Title component - Card.Title without onPressTitle props {...props, onPressTitle:undefined} make sure the card functions normally - Card.Title with onPressTitle props = () => {Alert.alert("Pressed")}

Both are tested in the Card example👇 Capture d’écran, le 2023-11-19 à 23 18 44

After press event on card title

Capture d’écran, le 2023-11-19 à 23 20 32

mtch99 avatar Nov 20 '23 04:11 mtch99

Hey @mtch99, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

callstack-bot avatar Nov 20 '23 04:11 callstack-bot