Warning
EventEmitter.removeListener('change', ...): Method has been deprecated. Please instead use remove() on the subscription returned by EventEmitter.addListener
Code sample
import { Menu } from 'react-native-paper';
<Menu
visible={menu}
onDismiss={() => setmenu(false)}
anchor={<Ionicons
onPress={() => setmenu(true)}
name={"settings-sharp"}
size={24}
color={"#222"}
/>}>
<Menu.Item onPress={() => { }} title="Download" />
<Menu.Item onPress={() => { }} title="Report" />
<Menu.Item onPress={() => { }} title="Cancel" />
Screenshots (if applicable)

Your Environment
| software |
version |
| ios or android |
android |
| react-native |
0.66.2 |
| react-native-paper |
^4.10.1 |
| node |
v14.18.1 |
| npm or yarn |
npm |
| expo sdk |
no |
GITHUB REPO:- https://github.com/pushpender-singh-ap/sampleRepo