Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / embed / EmbedConfigReactionSchemaType

Type Alias: EmbedConfigReactionSchemaType

type EmbedConfigReactionSchemaType = {
  icon: string;
  value: string;
};

Defined in: packages/sdk/src/embed/schemas/index.ts:206

The zod schema for a custom reaction rendered under a comment.

Type declaration

icon

icon: string;

Icon token, supports emoji (e.g. "🔥") or a Phosphor icon slug (e.g. "heart", "arrow-fat-up").

value

value: string;

Lowercase value used as reaction content.