Skip to content
providerkit
GitHub

createComposer

function createComposer(options): ComposerController;

Defined in: react/src/composer.ts:111

Local composition only: no transport, conversation store, auth or upload storage. All async acknowledgements belong to this scope and the revision that started them.

Parameter Type
options ComposerOptions

ComposerController

function createComposer<F>(options): ComposerController<F>;

Defined in: react/src/composer.ts:113

A phone picker’s file: F is the type attachments.upload takes.

Type Parameter
F extends AttachmentFile
Parameter Type
options ComposerOptions<F>

ComposerController<F>