--- order: 6 iframe: 250 title: zh-CN: 顶部公告 en-US: Banner --- ## zh-CN 页面顶部通告形式,默认有图标且 `type` 为 'warning'。 ## en-US Display Alert as a banner at top of page. ```tsx import { Alert } from 'antd'; import React from 'react'; const App: React.FC = () => ( <>


); export default App; ```