ソースを参照

Bugfix: Dialog buttons problem fixed.

lfabl 2 週間 前
コミット
539955efcf
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/components/dialog/index.tsx

+ 1 - 1
src/components/dialog/index.tsx

@@ -199,6 +199,7 @@ const Dialog: RefForwardingComponent<IDialogRef, IDialogProps> = ({
         }
 
         return <Button
+            variant="filled"
             type="neutral"
             {...secondaryButtonProps}
             onPress={() => {
@@ -213,7 +214,6 @@ const Dialog: RefForwardingComponent<IDialogRef, IDialogProps> = ({
             spreadBehaviour={contentJustify === "centered" ? "stretch" : "free"}
             title={secondaryButtonProps?.title || localize("cancel")}
             style={secondaryButtonStyle}
-            variant="outline"
         />;
     };