@artsy/cohesion
Version:
Analytics schema
22 lines (21 loc) • 613 B
TypeScript
import { ContextModule, ScreenOwnerType, TappedConsign } from "../../Schema";
export interface TappedConsignArgs {
contextModule: ContextModule;
contextScreenOwnerType: ScreenOwnerType;
subject: string;
}
/**
* A user taps a CTA to consign on iOS
*
* subject is the text of the tapped button
*
* @example
* ```
* tappedConsign({
* contextModule: ContextModule.sellHeader,
* contextScreenOwnerType: OwnerType.sell,
* subject: "Start selling"
* })
* ```
*/
export declare const tappedConsign: ({ contextModule, contextScreenOwnerType, subject, }: TappedConsignArgs) => TappedConsign;