소스 검색

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"
         />;
     };