We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c99e9b0 commit a9f9899Copy full SHA for a9f9899
components/message/useMessage.tsx
@@ -1,7 +1,7 @@
1
import { shallowRef, computed, defineComponent } from 'vue';
2
import { useNotification as useVcNotification } from '../vc-notification';
3
import type { NotificationAPI } from '../vc-notification';
4
-import CloseOutlined from '@ant-design/icons-vue';
+import CloseOutlined from '@ant-design/icons-vue/CloseOutlined';
5
import useStyle from './style';
6
import type {
7
MessageInstance,
@@ -80,7 +80,6 @@ const Holder = defineComponent({
80
<CloseOutlined class={`${prefixCls.value}-close-icon`} />
81
</span>
82
);
83
-
84
// ============================== Origin ===============================
85
const [api, holder] = useVcNotification({
86
//@ts-ignore
0 commit comments