Merge pull request #21735 from nico1510/master

fixed type of drawerLabel prop
This commit is contained in:
Armando Aguirre
2017-11-27 16:21:52 -08:00
committed by GitHub

View File

@@ -349,7 +349,8 @@ export interface NavigationDrawerScreenOptions extends NavigationScreenOptions {
any
> | null));
drawerLabel?:
React.ReactElement<any>
string
| React.ReactElement<any>
| ((options: { tintColor: (string | null), focused: boolean }) => (React.ReactElement<
any
> | null));