Drawer.Item
A component used to show an action item with an icon and a label in a navigation drawer.
Usage
import * as React from 'react';
import { Drawer } from 'react-native-paper';
const MyComponent = () => (
<Drawer.Item
style={{ backgroundColor: '#64ffda' }}
icon="star"
label="First Item"
/>
);
export default MyComponent;
Props
accessibilityLabel
Type:
string
Accessibility label for the button. This is read by the screen reader when the user taps the button.
style
Type:
StyleProp<ViewStyle>
theme
Type:
Theme