Browse Source
#3955 Refactor IPromptParams interface to make confirmFn mandatory and remove unnecessary discardFn
pull/4117/head
Brandon Wortman
8 months ago
No known key found for this signature in database
GPG Key ID: C63DB7DA05AEC086
1 changed files with
1 additions and
2 deletions
-
apps/client/src/app/core/notification/interfaces/interfaces.ts
|
|
@ -19,10 +19,9 @@ export interface IConfirmParams { |
|
|
|
} |
|
|
|
|
|
|
|
export interface IPromptParams { |
|
|
|
confirmFn?: (value: string) => void; |
|
|
|
confirmFn: (value: string) => void; |
|
|
|
confirmLabel?: string; |
|
|
|
defaultValue?: string; |
|
|
|
discardFn?: () => void; |
|
|
|
discardLabel?: string; |
|
|
|
title: string; |
|
|
|
valueLabel?: string; |
|
|
|