createComposer
Call Signature
Section titled “Call Signature”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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
ComposerOptions |
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”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 Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
F extends AttachmentFile |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
ComposerOptions<F> |