@artsy/cohesion
Version:
Analytics schema
24 lines (23 loc) • 585 B
TypeScript
import { ScreenOwnerType, TappedTabBar } from "../../Schema";
import { Tab } from "../../Schema/Values/Tab";
export interface TappedTabBarArgs {
badge?: boolean;
tab: Tab;
contextScreenOwnerType: ScreenOwnerType;
}
/**
* A user taps an icon in the Tab Bar within the iOS app
*
* badge is true if present, false if not
*
* tab describes the icon tapped by the user
*
* @example
* ```
* tappedTabBar({
* badge: true,
* tab: "sell"
* })
* ```
*/
export declare const tappedTabBar: ({ badge, tab, contextScreenOwnerType, }: TappedTabBarArgs) => TappedTabBar;