UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

13 lines 536 B
/// <reference types="react" /> import type { 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