useComposer
Call Signature
Section titled “Call Signature”function useComposer(options): ComposerValue;Defined in: react/src/composer.ts:575
Optional React ownership. Components can instead receive values and callbacks from any host.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
ComposerOptions |
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”function useComposer<F>(options): ComposerValue<F>;Defined in: react/src/composer.ts:577
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> |