/** * Data passed to the PolicyConfirmationDialogComponent via MAT_DIALOG_DATA */ export interface PolicyConfirmationDialogData { title: string; bodyText: string; cancelLabel: string; confirmLabel: string; /** Optional URL that turns the policyLinkText portion of bodyText into a hyperlink */ policyUrl?: string; /** The substring within bodyText that should become a hyperlink (requires policyUrl) */ policyLinkText?: string; }