@cliqdigital/bloomreach-sdk
Version:
React component library for integrating Bloomreach SDK with push notifications support
23 lines (22 loc) • 607 B
TypeScript
import React from 'react';
import { BloomreachConfig } from '../types';
interface Props {
config: BloomreachConfig;
children: React.ReactNode;
}
interface State {
isInitialized: boolean;
error: Error | null;
isClient: boolean;
hasConsent: boolean;
browserSupported: boolean;
}
export declare class NextBloomreachProvider extends React.Component<Props, State> {
constructor(props: Props);
componentDidMount(): void;
private checkBrowserSupport;
private initializeSDK;
private requestNotificationPermission;
render(): React.JSX.Element | null;
}
export {};