@artsy/cohesion
Version:
Analytics schema
16 lines (15 loc) • 448 B
TypeScript
import { Share } from "../Schema";
/**
* A user clicks or taps the 'Share' button.
*
* @example
* ```
* share({
* context_module: "artworkImage",
* context_owner_type: "artwork",
* context_owner_id: "55ed8ca57261693d930000b8"
* service: "instagram_stories"
* }
* ```
*/
export declare const share: ({ context_module, context_owner_type, context_owner_id, context_owner_slug, service, }: Omit<Share, "action">) => Share;