import React from 'react';
import { StyleSheet, Text } from 'react-native';
import { TouchableOpacity, ScrollView } from 'react-native-gesture-handler';
import { LoremIpsum } from '../../common';
export default function Example() {
return (
When the `exclusive` prop is set to true, the touchable is not allowed
to begin recognizing gesture (thus it shouldn't show feedback) when
another touchable is pressed. Similarly when the touchable with
`exclusive` set to true is pressed, no other touchable should begin
recognizing gesture.
Touchables with `exclusive` set to true:
When the `exclusive` prop is set to false, the touchable is allowed to
begin recognizing gesture when another touchable (with `exclusive` prop
set to false) is already pressed.
Touchables with `exclusive` set to false:
Touchables with `exclusive` set to false:
);
}
function Boxes(props: { exclusive?: boolean }) {
return (
);
}
const styles = StyleSheet.create({
text: {
padding: 10,
},
});