@types/react-is
- Version 19.0.0
- Published
- 5.75 kB
- 1 dependency
- MIT license
Install
npm i @types/react-is
yarn add @types/react-is
pnpm add @types/react-is
Overview
TypeScript definitions for react-is
Index
Variables
Functions
Variables
variable AsyncMode
const AsyncMode: Symbol;
Deprecated
variable ContextConsumer
const ContextConsumer: Symbol;
variable ContextProvider
const ContextProvider: Symbol;
variable Element
const Element: Symbol;
variable ForwardRef
const ForwardRef: Symbol;
variable Fragment
const Fragment: Symbol;
variable Lazy
const Lazy: Symbol;
variable Memo
const Memo: Symbol;
variable Portal
const Portal: Symbol;
variable Profiler
const Profiler: Symbol;
variable StrictMode
const StrictMode: Symbol;
variable Suspense
const Suspense: Symbol;
variable SuspenseList
const SuspenseList: Symbol;
Functions
function isAsyncMode
isAsyncMode: (value: any) => value is ReactElement;
Deprecated
function isContextConsumer
isContextConsumer: (value: any) => value is ReactElement;
function isContextProvider
isContextProvider: (value: any) => value is ReactElement;
function isElement
isElement: (value: any) => value is ReactElement;
function isForwardRef
isForwardRef: (value: any) => value is ReactElement;
function isFragment
isFragment: (value: any) => value is ReactElement;
function isLazy
isLazy: (value: any) => value is LazyExoticComponent<any>;
function isMemo
isMemo: (value: any) => value is MemoExoticComponent<any>;
function isPortal
isPortal: (value: any) => value is ReactElement;
function isProfiler
isProfiler: (value: any) => value is ReactElement;
function isStrictMode
isStrictMode: (value: any) => value is ReactElement;
function isSuspense
isSuspense: (value: any) => value is ReactElement;
function isSuspenseList
isSuspenseList: (value: any) => value is ReactElement;
function isValidElementType
isValidElementType: (value: any) => value is ElementType;
function typeOf
typeOf: (value: any) => symbol | undefined;
Package Files (2)
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/react-is
.
- Markdown[](https://www.jsdocs.io/package/@types/react-is)
- HTML<a href="https://www.jsdocs.io/package/@types/react-is"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2422 ms. - Missing or incorrect documentation? Open an issue for this package.