UNPKG

@shopify/app-bridge

Version:

[![Build Status](https://travis-ci.com/Shopify/app-bridge.svg?token=RBRyvqQyN525bnfz7J8p&branch=master)](https://travis-ci.com/Shopify/app-bridge) [![codecov](https://codecov.io/gh/Shopify/app-bridge/branch/master/graph/badge.svg?token=nZ21m39Dr6)](https:

24 lines (23 loc) 450 B
/** * @module Flash */ export declare enum ActionType { SHOW = "APP::FLASH::SHOW", CLEAR = "APP::FLASH::CLEAR", } export declare enum Action { SHOW = "SHOW", CLEAR = "CLEAR", } export interface Options { duration: number; isDismissible?: boolean; isError?: boolean; message: string; } export interface ClearPayload { readonly id?: string; } export interface Payload extends Options { readonly id?: string; }