ant-design / ant-design/pro-chat

👑 [需求]chatItemRenderCofig下暴露类似actionsConfig的字段配置默认行为

Open
#201 0 comments 2 reactions 1 assignee Claimed by @YeezoGao View on GitHub
documentation enhancement
Dominant language
TypeScript
Stars
898
Forks
116
PR merge metrics
No merged PRs in 30d

Description

### 🥰 需求描述

chatItemRenderConfig.actionsRender默认的doms中功能太多,只需要一个编辑功能的时候无法隐藏其他不需要的默认按钮

### 🧐 解决方案

可以在chatItemRenderConfig下暴露一个actionsConfig字段,对默认的「编辑、重新发送、复制」行为进行配置「icon、事件回调」

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.