Discrepancies around attachments on chat composer component in Figma vs live version #3941
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Sorry, I don't know how to help with that. I did do a search though, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:
|
Beta Was this translation helpful? Give feedback.
-
Hi Eileen, Thank you for raising this, it looks like you are using the ComposerAttachmentCard is meant to be used when you are in the context of a chat whereas You can import it using:
We acknowledge our documentation for this is not obvious. We are looking to make enhancements in the upcoming sprints to address this issue and provide more examples how to use I hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi Eileen,
Thank you for raising this, it looks like you are using the
FileUploaderItem
part of this component. In the Figma file you are referencing the component is actuallyComposerAttachmentCard
which is exported as part of@twilio-paste/core/chat-log
. We have a Storybook for exactly what you are trying to build here and you can find the code for that here.ComposerAttachmentCard is meant to be used when you are in the context of a chat whereas
FileUploaderItem
is designed to be used as part of a static document manager.You can import it using:
We acknowledge our documentation for this is not obvious. We are looking …