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

request for a demo that showing a FileCard in ChatSDK config #144

Open
cdll opened this issue Jun 14, 2024 · 0 comments
Open

request for a demo that showing a FileCard in ChatSDK config #144

cdll opened this issue Jun 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cdll
Copy link

cdll commented Jun 14, 2024

What problem does this feature solve? (这个功能解决了什么问题)
ChatSDK中通过config配置快速展现一个FileCard

Describe the solution you'd like (描述您想要的解决方案)
use a part of config like

{
  type: 'card',
  content: {
    code: 'file',
    // .. some other FileCard props
  },
}

in box.config.messages array to display a card such as :
https://chatui.io/components/file-card

What does the proposed API look like? (你期望的 API 是怎样的)
配置式的

@cdll cdll added the enhancement New feature or request label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant