UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

12 lines (11 loc) 482 B
/// <reference types="react" /> import { ToastPropsWithID, ToastID, ContextualSaveBarProps } from './types'; export interface FrameContextType { showToast(toast: ToastPropsWithID): void; hideToast(toast: ToastID): void; setContextualSaveBar(props: ContextualSaveBarProps): void; removeContextualSaveBar(): void; startLoading(): void; stopLoading(): void; } export declare const FrameContext: import("react").Context<FrameContextType | undefined>;