@ecp.eth/sdk / embed / CommentsByAuthorEmbedProps
Type Alias: CommentsByAuthorEmbedProps
type CommentsByAuthorEmbedProps = {
author: Hex;
containerProps?: React.HTMLAttributes<HTMLDivElement>;
embedUri?: string;
iframeProps?: React.IframeHTMLAttributes<HTMLIFrameElement>;
} & EmbedConfigSchemaInputType;
Defined in: packages/sdk/src/embed/react.tsx:80
Type declaration
author
author: Hex;
The author address 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