UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

14 lines (13 loc) 545 B
/// <reference types="react" /> import { ToastPropsWithID, ToastID, ContextualSaveBarProps, Logo } from './types'; export interface FrameContextType { logo?: Logo; 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>; //# sourceMappingURL=context.d.ts.map