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

Clipboard copy icon (like ChatGPT) #2481

Open
bradydowling opened this issue Feb 28, 2024 · 2 comments
Open

Clipboard copy icon (like ChatGPT) #2481

bradydowling opened this issue Feb 28, 2024 · 2 comments

Comments

@bradydowling
Copy link

bradydowling commented Feb 28, 2024

Issue Description

Is there a way to add an icon to the end of each chat (that's not part of the message/text)? I think of something like you see with ChatGPT, where there's a clipboard icon that allows people to copy the message contents.

Screenshot 2024-02-28 at 9 54 53 AM

It seems like maybe using containerStyle would not work because it wouldn't allow for an icon to be placed but maybe renderCustomView would work?

@fukemy
Copy link

fukemy commented Feb 29, 2024

just like this:

const renderBubble = () {
   return <>
       {renderMessageText()}
       {renderCustomButton()}
   </>
} 

@dkyazzentwatwa
Copy link

just like this:

const renderBubble = () {
   return <>
       {renderMessageText()}
       {renderCustomButton()}
   </>
} 

Thanks for this idea! I was wondering about this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants