UNPKG

1.02 kBTypeScriptView Raw
1import * as React from 'react';
2import { ThemeContext } from 'react-navigation';
3import { DrawerNavigatorItemsProps } from '../types';
4/**
5 * Component that renders the navigation list in the drawer.
6 */
7export default class DrawerNavigatorItems extends React.Component<DrawerNavigatorItemsProps> {
8 static defaultProps: {
9 activeTintColor: {
10 light: string;
11 dark: string;
12 };
13 activeBackgroundColor: {
14 light: string;
15 dark: string;
16 };
17 inactiveTintColor: {
18 light: string;
19 dark: string;
20 };
21 inactiveBackgroundColor: {
22 light: string;
23 dark: string;
24 };
25 };
26 static contextType: React.Context<import("react-navigation").SupportedThemes>;
27 context: React.ContextType<typeof ThemeContext>;
28 private getActiveTintColor;
29 private getInactiveTintColor;
30 private getActiveBackgroundColor;
31 private getInactiveBackgroundColor;
32 render(): JSX.Element;
33}