@gobistories/gobi-web-integration
Version:
This library will let you put your Gobi stories on your site.
37 lines (36 loc) • 1.12 kB
TypeScript
/// <reference types="react" />
declare const defaultLocaleContext: {
phrases: {
'pause-video': string;
'play-video': string;
'mute-audio': string;
'unmute-audio': string;
'download-transcript': string;
'view-previous-chapter': string;
'view-next-chapter': string;
'close-story': string;
'gobi-logo': string;
'custom-logo': string;
'go-fullscreen': string;
'exit-fullscreen': string;
};
};
declare type LocaleContext = typeof defaultLocaleContext;
export declare const useLocale: (bcp47?: string) => LocaleContext;
export declare const localeContext: import("react").Context<{
phrases: {
'pause-video': string;
'play-video': string;
'mute-audio': string;
'unmute-audio': string;
'download-transcript': string;
'view-previous-chapter': string;
'view-next-chapter': string;
'close-story': string;
'gobi-logo': string;
'custom-logo': string;
'go-fullscreen': string;
'exit-fullscreen': string;
};
}>;
export {};