We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
5.32.0
期望Dropdown组件支持如上图所示左右布局,Dropdown.Item组件增加align。Item中只要有一个传了align就变成了左右布局,其余没传的默认左对齐
<Dropdown> <Dropdown.Item key='1' title='选择' align="left" /> <Dropdown.Item key='3' title='选择' align="left" /> <Dropdown.Item key='2' title='选择' align="right" /> </Dropdown> interface DropdownItemProps { align?: "left" | "right"; }
同时为和原生组件结合,Dropdown.Item 新增 onClick 事件和控制是否展示下拉遮罩的属性
interface DropdownProps { // 新增参数 mask: boolean; } interface DropdownItemProps { // 新增参数 onClick: () => void; mask: boolean; }
The text was updated successfully, but these errors were encountered:
Placeholder 是干什么的?
Placeholder
Sorry, something went wrong.
感觉是可以加强一下 Space 下的组合效果:
https://codesandbox.io/s/loving-hellman-g2lyf8?file=/app.tsx:208-243
上述接口方案内容已改
No branches or pull requests
Version of antd-mobile
5.32.0
What is this feature about?
期望Dropdown组件支持如上图所示左右布局,Dropdown.Item组件增加align。Item中只要有一个传了align就变成了左右布局,其余没传的默认左对齐
同时为和原生组件结合,Dropdown.Item 新增 onClick 事件和控制是否展示下拉遮罩的属性
The text was updated successfully, but these errors were encountered: