Skip to content
providerkit
GitHub

useComposer

function useComposer(options): ComposerValue;

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

Optional React ownership. Components can instead receive values and callbacks from any host.

Parameter Type
options ComposerOptions

ComposerValue

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 Parameter
F extends AttachmentFile
Parameter Type
options ComposerOptions<F>

ComposerValue<F>