Function useCogsConnection
- useCogsConnection<Manifest extends CogsPluginManifest>(
customConnection?: CogsConnection<Manifest, Record<never, never>>,
): CogsConnection<Manifest> Type Parameters
- Manifest extends CogsPluginManifest
Parameters
Optional
customConnection: CogsConnection<Manifest, Record<never, never>>
Returns CogsConnection<Manifest>
Get the connection from
<CogsConnectionProvider>