Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / embed / CommentsByRepliesEmbedProps

Type Alias: CommentsByRepliesEmbedProps

type CommentsByRepliesEmbedProps = {
  commentId: Hex;
  containerProps?: React.HTMLAttributes<HTMLDivElement>;
  embedUri?: string;
  iframeProps?: React.IframeHTMLAttributes<HTMLIFrameElement>;
} & EmbedConfigSchemaInputType;

Defined in: packages/sdk/src/embed/react.tsx:99

Type declaration

commentId

commentId: Hex;

The comment ID to filter replies 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