--- order: 2 title: zh-CN: 箭头 en-US: Arrow --- ## zh-CN 可以展示一个箭头。 ## en-US You could display an arrow. ```tsx import type { MenuProps } from 'antd'; import { Button, Dropdown } from 'antd'; import React from 'react'; const items: MenuProps['items'] = [ { key: '1', label: ( 1st menu item ), }, { key: '2', label: ( 2nd menu item ), }, { key: '3', label: ( 3rd menu item ), }, ]; const App: React.FC = () => ( <>
); export default App; ``` ```css #components-dropdown-demo-arrow .ant-btn { margin-right: 8px; margin-bottom: 8px; } .ant-row-rtl #components-dropdown-demo-arrow .ant-btn { margin-right: 0; margin-bottom: 8px; margin-left: 8px; } ```