@ecp.eth/sdk / embed / CreateCommentsEmbedURLParams
Type Alias: CreateCommentsEmbedURLParams
type CreateCommentsEmbedURLParams = {
config?: EmbedConfigSchemaInputType;
embedUri: string;
source: | {
targetUri: string;
}
| {
author: Hex;
};
};
Defined in: packages/sdk/src/embed/utils.ts:13
Parameters for createCommentsEmbedURL
Properties
config?
optional config: EmbedConfigSchemaInputType;
Defined in: packages/sdk/src/embed/utils.ts:25
The configuration for the comments embed.
embedUri
embedUri: string;
Defined in: packages/sdk/src/embed/utils.ts:17
The URI of the comments embed iframe page.
source
source:
| {
targetUri: string;
}
| {
author: Hex;
};
Defined in: packages/sdk/src/embed/utils.ts:21
The target URI or author address to embed comments for.