1 | import * as React from 'react';
|
2 | import { ViewStyle } from 'react-native';
|
3 | import { NavigationScreenProp } from 'react-navigation';
|
4 | import Animated from 'react-native-reanimated';
|
5 | import { NavigationDrawerState, DrawerContentComponentProps, SceneDescriptorMap } from '../types';
|
6 | declare type Props = {
|
7 | contentComponent?: React.ComponentType<DrawerContentComponentProps>;
|
8 | contentOptions?: object;
|
9 | screenProps?: unknown;
|
10 | navigation: NavigationScreenProp<NavigationDrawerState>;
|
11 | descriptors: SceneDescriptorMap;
|
12 | drawerOpenProgress: Animated.Node<number>;
|
13 | drawerPosition: 'left' | 'right';
|
14 | style?: ViewStyle;
|
15 | };
|
16 |
|
17 |
|
18 |
|
19 | declare class DrawerSidebar extends React.PureComponent<Props> {
|
20 | private getScreenOptions;
|
21 | private getLabel;
|
22 | private renderIcon;
|
23 | private handleItemPress;
|
24 | render(): JSX.Element | null;
|
25 | }
|
26 | export default DrawerSidebar;
|