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

AtList/AtItem 需要自定义图标 #1626

Closed
axetroy opened this issue Jul 6, 2023 · 1 comment
Closed

AtList/AtItem 需要自定义图标 #1626

axetroy opened this issue Jul 6, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request fixed but not released 已修复但未发布

Comments

@axetroy
Copy link
Contributor

axetroy commented Jul 6, 2023

截屏2023-07-06 10 28 30

这个功能解决了什么问题?
需要自定义图标,或者说自定义元素,否则太嘚了

你期望的功能是怎样的?
废弃 iconIno 改用 icon,参数类型应该是 Object | ReactNode | undeined

<AtItem icon={<View>自定义图标</View>} />

<AtItem icon={{ value: '原来的参数' }} />

<AtItem icon={undeined} />

补充信息

@taro-ui-bot
Copy link

taro-ui-bot bot commented Jul 6, 2023

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@robinv8 robinv8 added the enhancement New feature or request label Jul 7, 2023
@robinv8 robinv8 self-assigned this Nov 13, 2023
@robinv8 robinv8 added the fixed but not released 已修复但未发布 label Nov 13, 2023
robinv8 added a commit that referenced this issue Nov 17, 2023
New Features

- 添加 Timeline 获取节点信息事件 (#1650)
- List 组件支持自定义 icon 属性 (#1626)
- Card 组件 extra 属性支持 ReactNode (#1684)

Bug Fixes

- 修复 AtAccordion 组件展开高度错误的问题 (#1656)
- 修复 enableNative 属性不存在的问题 (#1654)

Improvements

- yarn 升级到 pnpm
- 完善 CI 流程
- 更新 Taro-UI 文档地址
robinv8 added a commit that referenced this issue Nov 19, 2023
New Features

- 添加 Timeline 获取节点信息事件 (#1650)
- List 组件支持自定义 icon 属性 (#1626)
- Card 组件 extra 属性支持 ReactNode (#1684)

Bug Fixes

- 修复 AtAccordion 组件展开高度错误的问题 (#1656)
- 修复 enableNative 属性不存在的问题 (#1654)
- 修复日历组件无法正常加载的问题

Improvements

- yarn 升级到 pnpm
- 完善 CI 流程
- 更新 Taro-UI 文档地址
@robinv8 robinv8 closed this as completed Nov 19, 2023
This was referenced Nov 19, 2023
robinv8 added a commit that referenced this issue Nov 20, 2023
New Features

- 添加 Timeline 获取节点信息事件 (#1650)
- List 组件支持自定义 icon 属性 (#1626)
- Card 组件 extra 属性支持 ReactNode (#1684)

Bug Fixes

- 修复 AtAccordion 组件展开高度错误的问题 (#1656)
- 修复 enableNative 属性不存在的问题 (#1654)
- 修复日历组件无法正常加载的问题

Improvements

- yarn 升级到 pnpm
- 完善 CI 流程
- 更新 Taro-UI 文档地址
robinv8 added a commit that referenced this issue Nov 20, 2023
New Features

- 添加 Timeline 获取节点信息事件 (#1650)
- List 组件支持自定义 icon 属性 (#1626)
- Card 组件 extra 属性支持 ReactNode (#1684)

Bug Fixes

- 修复 AtAccordion 组件展开高度错误的问题 (#1656)
- 修复 enableNative 属性不存在的问题 (#1654)
- 修复日历组件无法正常加载的问题

Improvements

- yarn 升级到 pnpm
- 完善 CI 流程
- 更新 Taro-UI 文档地址
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed but not released 已修复但未发布
Projects
None yet
Development

No branches or pull requests

2 participants