Skip to content

Interface: TalklineProviderProps ​

Properties ​

PropertyTypeDescription
childrenReactNode-
clientTalklineClient-
connect?booleanConnect on mount. Idempotent in core, so StrictMode's double effect costs nothing. The host still owns close().
onError?(err) => voidThe rejection of the connect on mount, when connect is set: whatever connect() rejected with, your token provider's own error included. Nothing else — an error no promise was waiting for is the client's error event (useErrors()).

Talkline documentation