Is your feature request related to a problem? Please describe.
The function exported by copy-to-clipboard library takes a second options parameter, that allows to change the MIME type or add a custom message. Currently the useCopyToClipboard hooks does not forward this option object.
Describe the solution you'd like
The hook should accept and pass the options object to the copy-to-clipboard function call.
Is your feature request related to a problem? Please describe. The function exported by
copy-to-clipboard
library takes a second options parameter, that allows to change the MIME type or add a custom message. Currently theuseCopyToClipboard
hooks does not forward this option object.Describe the solution you'd like The hook should accept and pass the options object to the
copy-to-clipboard
function call.