mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
This PR introduces a generic `DialogService` which can be used by all the clients. This allows us to decouple dialogs from the `PlatformUtilsHelper`. The `DialogService` provides a new method, `openSimpleDialog` which is the new interface for that type of dialogs. This gives us 3 different implementations: - Web: DialogService modern dialogs - Browser: SweetAlert - Desktop: Native electron based
5 lines
89 B
TypeScript
5 lines
89 B
TypeScript
export interface Translation {
|
|
key: string;
|
|
placeholders?: Array<string | number>;
|
|
}
|