Type Definitions
ReactComponentModuleNamespaceObject
A module namespace object that exports a React Component as its default export
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
default |
external:React.Component | The default export of the module, which should be a React Component. |
ReactHookModuleNamespaceObject
A module namespace object that exports a function as its default export, that can be a React hook
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
default |
external:React.Hook | The default export of the module, typically a React hook. |