UNPKG

@artsy/cohesion

Version:
28 lines (27 loc) 1.05 kB
import { ScreenOwnerType, TappedMainArtworkGrid } from "../../Schema"; export interface TappedMainArtworkGridArgs { contextScreen?: string; contextScreenOwnerType: ScreenOwnerType; contextScreenOwnerId?: string; contextScreenOwnerSlug?: string; destinationScreenOwnerId: string; destinationScreenOwnerSlug: string; position?: number; sort?: string; query?: string; } /** * A user taps an artwork in the main artworkGrid (iOS) * * @example * ``` * tappedMainArtworkGrid({ * contextScreenOwnerType: OwnerType.artist, * contextScreenOwnerId: "5359794d2a1e86c3741001f8", * contextScreenOwnerSlug: "andy-warhol", * destinationScreenOwnerId: "5359794d1a1e86c3740001f7", * destinationScreenOwnerSlug: "andy-warhol-skull", * }) * ``` */ export declare const tappedMainArtworkGrid: ({ contextScreen, contextScreenOwnerType, contextScreenOwnerId, contextScreenOwnerSlug, destinationScreenOwnerId, destinationScreenOwnerSlug, position, sort, query, }: TappedMainArtworkGridArgs) => TappedMainArtworkGrid;