software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
6.13k stars 982 forks source link

Add documentation page for `Pressable` component #2992

Closed latekvo closed 3 months ago

latekvo commented 4 months ago

Description

This PR adds a documentation page for the new gesturized version of the Pressable component

latekvo commented 4 months ago

Please let me know if the gif is too big, small, dark or yellow. Comparing it to components/buttons gif it's just the right color but larger, comparing it to components/swipeable it's darker than it and similar size width-wise.

latekvo commented 4 months ago

To address the mixed capitalization - in other component docs like Reanimated Swipeable, Swipeable, Drawer Layout and Buttons, prop descriptions always (with few exceptions) start with a small letter while all the rest of the article uses letter capitalisation.

I applied this scheme to this page as well - prop descriptions start with a small letter while all the rest of the sentences start with capitalised ones.