[RFC] FileCard 文件卡片 #978
Closed
hy993658052
started this conversation in
RFC
Replies: 1 comment 1 reply
-
|
Attachments.FileCard 和 FileCard 区别是啥,为啥不能在之前的上面继续迭代,不能因为之前的不满足需求就造一个新组件吧。 这样扩展的话以后还会有 FileCard1 FileCard2 FileCard3 。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
在对话和输入时用卡片的形式展示文件。
Motivation
在对话流中输入和展示图片、文件等是一个高频场景,现有的文件卡片要通过输入附件组件Attachments.FileCard来使用,主要问题有:
所以需要设计一个独立的组件FileCard,适配各种场景
Detailed Design
API 设计
Example Usage
基础使用
使用小卡片
设置操作按钮
音视频,使用原生组件
1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions