-
Notifications
You must be signed in to change notification settings - Fork 418
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
Add Chat Component #1872
Comments
Here is my initial prop proposal for the component, what do you think? Chat
Message
Attachment
Event
Here is a basic example using these specs - <Chat>
<Event
title={<span>Chat started by<b>Andy Martinez</b></span>}
time="4:58 PM"
icon="chat"
/>
<Message
direction="inbound"
time="4:59 PM"
user="Andy Martinez"
showAvatar
>
Hi, my CloudWidget only speaks French
</Message>
<Message
direction="outbound"
time="5:02 PM"
user="Jason Dewar"
>
Hi Andy, thank you for contacting Widget Support. Can you please tell me what language you are trying to program on your CloudWidget?
</Message>
<Attachment
direction="inbound"
time="5:04 PM"
user="Andy Martinez"
thumbnail="...."
title="Image.jpg"
format="image"
link="..."
/>
</Chat> |
Great props proposal. It's clear for a complex component.
Please update and confirm by posting to this thread. |
I will try to get #1879 looked over tomorrow. |
This issue has been automatically marked as stale, because it has not had recent activity. It will be closed if no further activity occurs. Maintainers are responsible for tech debt and project health. This is most likely a new components or component feature request. Please submit a pull request for or request feedback on this feature. Thank you. |
Implement the Chat component according to spec: https://www.lightningdesignsystem.com/components/chat/
The text was updated successfully, but these errors were encountered: