1 |
|
2 |
|
3 |
|
4 |
|
5 | export as namespace ReactIs;
|
6 |
|
7 | import { ElementType, LazyExoticComponent, MemoExoticComponent, ReactElement } from "react";
|
8 |
|
9 | export function typeOf(value: any): symbol | undefined;
|
10 | export function isValidElementType(value: any): value is ElementType;
|
11 |
|
12 |
|
13 |
|
14 | export function isAsyncMode(value: any): value is ReactElement;
|
15 | export function isContextConsumer(value: any): value is ReactElement;
|
16 | export function isContextProvider(value: any): value is ReactElement;
|
17 | export function isElement(value: any): value is ReactElement;
|
18 | export function isForwardRef(value: any): value is ReactElement;
|
19 | export function isFragment(value: any): value is ReactElement;
|
20 | export function isLazy(value: any): value is LazyExoticComponent<any>;
|
21 | export function isMemo(value: any): value is MemoExoticComponent<any>;
|
22 | export function isProfiler(value: any): value is ReactElement;
|
23 | export function isPortal(value: any): value is ReactElement;
|
24 | export function isStrictMode(value: any): value is ReactElement;
|
25 | export function isSuspense(value: any): value is ReactElement;
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | export const AsyncMode: symbol;
|
31 | export const ContextConsumer: symbol;
|
32 | export const ContextProvider: symbol;
|
33 | export const Element: symbol;
|
34 | export const ForwardRef: symbol;
|
35 | export const Fragment: symbol;
|
36 | export const Lazy: symbol;
|
37 | export const Memo: symbol;
|
38 | export const Portal: symbol;
|
39 | export const Profiler: symbol;
|
40 | export const StrictMode: symbol;
|
41 | export const Suspense: symbol;
|