@ecp.eth/sdk / embed / CommentsByChannelEmbedProps
Type Alias: CommentsByChannelEmbedProps
type CommentsByChannelEmbedProps = {
channelId: string | bigint;
containerProps?: React.HTMLAttributes<HTMLDivElement>;
embedUri?: string;
iframeProps?: React.IframeHTMLAttributes<HTMLIFrameElement>;
} & Omit<EmbedConfigSchemaInputType, "channelId">;Defined in: packages/sdk/src/embed/react.tsx:119
Type declaration
channelId
channelId: string | bigint;The channel ID to filter comments by.
containerProps?
optional containerProps: React.HTMLAttributes<HTMLDivElement>;Allows to pass custom props to iframe's wrapper element
embedUri?
optional embedUri: string;URL of the comments embed iframe page. This page is rendered in the iframe.
iframeProps?
optional iframeProps: React.IframeHTMLAttributes<HTMLIFrameElement>;Allows to pass custom props to iframe