We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b1d38 commit cb6f751Copy full SHA for cb6f751
src/types.ts
@@ -1,5 +1,3 @@
1
-import { PropsWithChildren } from 'react';
2
-
3
import { Store } from '@reduxjs/toolkit';
4
import {
5
IClientOptions,
@@ -13,9 +11,10 @@ export type IClientUnsubscribeOptions = Parameters<
13
11
MqttClient['unsubscribe']
14
12
>[1];
15
16
-export interface WorkflowManagerProps extends PropsWithChildren {
17
- brokerUrl?: string;
+export interface WorkflowManagerProps {
+ brokerUrl: string;
18
options?: IClientOptions;
+ children: React.ReactNode;
19
}
20
21
export interface WorkflowManagerConfigProps {
0 commit comments