createEmbed
function createEmbed<P>(options): Embed<P>;Defined in: src/ui/embed.tsx:126
Build a product’s embed components from its App, scope class, API client and theme key.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
P extends object |
object |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
CreateEmbedOptions<P> |
Returns
Section titled “Returns”Embed<P>