Browse Source

#3955 Refactor IPromptParams interface to make confirmFn mandatory and remove unnecessary discardFn

pull/4117/head
Brandon Wortman 8 months ago
parent
commit
9edda8ca0a
No known key found for this signature in database GPG Key ID: C63DB7DA05AEC086
  1. 3
      apps/client/src/app/core/notification/interfaces/interfaces.ts

3
apps/client/src/app/core/notification/interfaces/interfaces.ts

@ -19,10 +19,9 @@ export interface IConfirmParams {
} }
export interface IPromptParams { export interface IPromptParams {
confirmFn?: (value: string) => void; confirmFn: (value: string) => void;
confirmLabel?: string; confirmLabel?: string;
defaultValue?: string; defaultValue?: string;
discardFn?: () => void;
discardLabel?: string; discardLabel?: string;
title: string; title: string;
valueLabel?: string; valueLabel?: string;

Loading…
Cancel
Save