mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Add alert dialog to confirm replacing oldest pinned message
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { AlertDialog } from 'radix-ui';
|
||||
import type { FC, ReactNode } from 'react';
|
||||
import type { FC, MouseEvent, ReactNode } from 'react';
|
||||
import React, { memo } from 'react';
|
||||
import { AxoButton } from './AxoButton.dom.js';
|
||||
import { tw } from './tw.dom.js';
|
||||
@@ -221,7 +221,7 @@ export namespace AxoAlertDialog {
|
||||
variant: ActionVariant;
|
||||
symbol?: AxoSymbol.InlineGlyphName;
|
||||
arrow?: boolean;
|
||||
onClick: () => void;
|
||||
onClick: (event: MouseEvent<HTMLButtonElement>) => void;
|
||||
children: ReactNode;
|
||||
}>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user