mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Support for exporting chats to disk
This commit is contained in:
@@ -215,7 +215,7 @@ export namespace AxoAlertDialog {
|
||||
* ----------------------------------
|
||||
*/
|
||||
|
||||
export type ActionVariant = 'primary' | 'destructive';
|
||||
export type ActionVariant = 'primary' | 'secondary' | 'destructive';
|
||||
|
||||
export type ActionProps = Readonly<{
|
||||
variant: ActionVariant;
|
||||
|
||||
@@ -363,6 +363,7 @@ export namespace AxoDialog {
|
||||
variant: ActionVariant;
|
||||
symbol?: AxoSymbol.InlineGlyphName;
|
||||
arrow?: boolean;
|
||||
experimentalSpinner?: { 'aria-label': string } | null;
|
||||
onClick: () => void;
|
||||
children: ReactNode;
|
||||
}>;
|
||||
@@ -373,9 +374,10 @@ export namespace AxoDialog {
|
||||
variant={props.variant}
|
||||
symbol={props.symbol}
|
||||
arrow={props.arrow}
|
||||
experimentalSpinner={props.experimentalSpinner}
|
||||
onClick={props.onClick}
|
||||
size="md"
|
||||
width="grow"
|
||||
onClick={props.onClick}
|
||||
>
|
||||
{props.children}
|
||||
</AxoButton.Root>
|
||||
|
||||
Reference in New Issue
Block a user