CopyToClipBoard : Allow CopyToClipBoard to take textReferences instead of just textToCopy #3908
architjain
started this conversation in
General
Replies: 0 comments
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.
-
Currently CopyToClipBoard component takes a parameter
textToCopy
of type stringThis requires text to be generated when rendering component (not when clicked). If you have a large data serialized, or have multiple number of copy buttons on same page, all of them have to be serialized first even if they are clicked or not.
Proposal : Allow Lazy providers for textToCopy
Something like this :
Beta Was this translation helpful? Give feedback.
All reactions