Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

面包屑导航使用 items 渲染时,下拉菜单能展示箭头吗? #43146

Closed
HalseySpicy opened this issue Jun 21, 2023 · 3 comments · Fixed by #43151
Closed

面包屑导航使用 items 渲染时,下拉菜单能展示箭头吗? #43146

HalseySpicy opened this issue Jun 21, 2023 · 3 comments · Fixed by #43151

Comments

@HalseySpicy
Copy link

What problem does this feature solve?

文档示例只展示了:menu: { items: menuItems },menu 下面能配置 Dropdown 组件的 api 吗?

const App: React.FC = () => (
  <Breadcrumb
    items={[
      {
        title: 'Ant Design',
      },
      {
        title: <a href="">Component</a>,
      },
      {
        title: <a href="">General</a>,
        menu: { items: menuItems },
      },
      {
        title: 'Button',
      },
    ]}
  />
);

export default App;

What does the proposed API look like?

使用 items 渲染时,下拉菜单能配置 Dropdown

@linxianxi
Copy link
Contributor

@HalseySpicy
Copy link
Author

https://ant.design/components/breadcrumb-cn#routeitemtype dropdownProps

眼瞎了🤣,Thank you

@HalseySpicy
Copy link
Author

https://ant.design/components/breadcrumb-cn#routeitemtype dropdownProps
好像我设置了,也没生效呢
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants