@segment/consent-manager
Version:
Drop-in consent management plugin for analytics.js
20 lines (19 loc) • 610 B
TypeScript
import React, { PureComponent } from 'react';
import { PreferenceDialogTemplate } from '../types';
interface Props {
innerRef: (node: HTMLElement) => void;
onBack: () => void;
onConfirm: () => void;
title: React.ReactNode;
content: React.ReactNode;
preferencesDialogTemplate?: PreferenceDialogTemplate;
}
export default class CancelDialog extends PureComponent<Props> {
static displayName: string;
render(): JSX.Element;
componentDidMount(): void;
componentWillUnmount(): void;
handleSubmit: (e: any) => void;
handleEsc: (e: KeyboardEvent) => void;
}
export {};