Skip to content

Commit

Permalink
Merge pull request #1446 from easyops-cn/steve/modal-confirm-primary
Browse files Browse the repository at this point in the history
fix(): re-add type="primary" for modal confirm button
  • Loading branch information
qiaofengxi authored Dec 19, 2024
2 parents 9f89980 + 4d4240a commit 38e2676
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bricks/containers/src/modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ function ModalComponent({
</WrappedButton>
)}
<WrappedButton
type="primary"
danger={confirmDanger}
disabled={confirmDisabled}
onClick={handleConfirmClick}
Expand Down

0 comments on commit 38e2676

Please sign in to comment.