How to view a component in onPress of React-Native-Paper Chip component

I want to show a Add button when I click Chip’s onPress. The component I want to display is onPressChip() function. This is my code. const Item = ({title}) => ( <View> <Chip onPress={() => onPressChip()} style={{margin: ‘auto’}}> {title} </Chip> </View> ); const onPressChip = () => { <View style={{flexDirection: ‘row-reverse’, marginTop: 10}}> <Button disabled={false}… Read More How to view a component in onPress of React-Native-Paper Chip component