mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 06:29:40 +08:00
Merge pull request #21735 from nico1510/master
fixed type of drawerLabel prop
This commit is contained in:
3
types/react-navigation/index.d.ts
vendored
3
types/react-navigation/index.d.ts
vendored
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user