UNPKG

@combine-labs/combine-polaris

Version:

Combine Lab's product component library. Forked from Shopify's Polaris.

28 lines (27 loc) 852 B
import { ValidationMap } from 'react'; import { Props as AppProviderProps } from '../AppProvider'; import Intl from './Intl'; import Link from './Link'; import EASDK from './EASDK'; import StickyManager from './StickyManager'; export declare const polarisAppProviderContextTypes: ValidationMap<any>; export interface WithAppProviderProps { polaris: { intl: Intl; link: Link; easdk: EASDK; stickyManager: StickyManager; }; } export interface TranslationDictionary { [key: string]: string | TranslationDictionary; } export interface PrimitiveReplacementDictionary { [key: string]: string | number; } export interface ComplexReplacementDictionary { [key: string]: string | number | React.ReactNode; } export interface CreatePolarisContext extends AppProviderProps { stickyManager?: StickyManager; }