mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 13:08:48 +08:00
feat:update popconfirm icon
This commit is contained in:
parent
c5e71f3c63
commit
108447e801
@ -5,7 +5,7 @@ import PropTypes from '../_util/vue-types';
|
||||
import { getOptionProps, hasProp, getComponentFromProp, mergeProps } from '../_util/props-util';
|
||||
import BaseMixin from '../_util/BaseMixin';
|
||||
import buttonTypes from '../button/buttonTypes';
|
||||
import Icon from '../icon';
|
||||
import ExclamationCircleFilled from '@ant-design/icons-vue/ExclamationCircleFilled';
|
||||
import Button from '../button';
|
||||
import LocaleReceiver from '../locale-provider/LocaleReceiver';
|
||||
import defaultLocale from '../locale-provider/default';
|
||||
@ -86,7 +86,7 @@ const Popconfirm = {
|
||||
renderOverlay(prefixCls, popconfirmLocale) {
|
||||
const { okType, okButtonProps, cancelButtonProps } = this;
|
||||
const icon = getComponentFromProp(this, 'icon') || (
|
||||
<Icon type="exclamation-circle" theme="filled" />
|
||||
<ExclamationCircleFilled/>
|
||||
);
|
||||
const cancelBtnProps = mergeProps(
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user