Browse Source

fix: add modal confirm default icon (#24956)

pull/24960/head
xrkffgg 5 years ago
committed by GitHub
parent
commit
6fb38c342f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/modal/confirm.tsx

1
components/modal/confirm.tsx

@ -133,6 +133,7 @@ export function withError(props: ModalFuncProps): ModalFuncProps {
export function withConfirm(props: ModalFuncProps): ModalFuncProps {
return {
type: 'confirm',
icon: <ExclamationCircleOutlined />,
okCancel: true,
...props,
};

Loading…
Cancel
Save