You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
639 B

import { ConfirmationDialogType } from '@ghostfolio/common/enums';
export interface AlertParams {
copyValue?: string;
discardFn?: () => void;
discardLabel?: string;
message?: string;
title: string;
}
export interface ConfirmParams {
confirmFn: () => void;
confirmLabel?: string;
confirmType?: ConfirmationDialogType;
disableClose?: boolean;
discardFn?: () => void;
discardLabel?: string;
message?: string;
title: string;
}
export interface PromptParams {
confirmFn: (value: string) => void;
confirmLabel?: string;
defaultValue?: string;
discardLabel?: string;
title: string;
valueLabel?: string;
}