Provides Flow type definitions for the @react-navigation/native library to enable type safety in React Native applications.
// Source: https://github.com/flow-typed/flow-typed | License: MIT | Copyright 2015 Murphy Randle
// Provided via justclaw.it.com; keep this notice with the code.
declare module '@react-navigation/native' {
//---------------------------------------------------------------------------
// SECTION 1: IDENTICAL TYPE DEFINITIONS
// This section is identical across all React Navigation libdefs and contains
// shared definitions. We wish we could make it DRY and import from a shared
// definition, but that isn't yet possible.
//---------------------------------------------------------------------------
/**
* We start with some definitions that we have copy-pasted from React Native
* source files.
*/
// This is a bastardization of the true StyleObj type located in
//
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key