From b6b4f365239ad0937bc6b091fde616dc2e6913f0 Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Tue, 5 Jul 2022 22:38:57 +0800 Subject: [PATCH] test: fix lint --- components/notification/demo/hooks.md | 2 +- components/notification/demo/placement.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/notification/demo/hooks.md b/components/notification/demo/hooks.md index 5e296a75e7..e18c1db37b 100755 --- a/components/notification/demo/hooks.md +++ b/components/notification/demo/hooks.md @@ -21,7 +21,7 @@ import { RadiusUprightOutlined, } from '@ant-design/icons'; import { Button, Divider, notification, Space } from 'antd'; -import type { NotificationPlacement } from 'antd/es/notification'; +import type { NotificationPlacement } from 'antd/es/notification/interface'; import React from 'react'; const Context = React.createContext({ name: 'Default' }); diff --git a/components/notification/demo/placement.md b/components/notification/demo/placement.md index b2685530de..cfd5f71f02 100755 --- a/components/notification/demo/placement.md +++ b/components/notification/demo/placement.md @@ -23,7 +23,7 @@ import { RadiusUprightOutlined, } from '@ant-design/icons'; import { Button, Divider, notification, Space } from 'antd'; -import type { NotificationPlacement } from 'antd/es/notification'; +import type { NotificationPlacement } from 'antd/es/notification/interface'; import React from 'react'; const App: React.FC = () => {