vue-tippy icon indicating copy to clipboard operation
vue-tippy copied to clipboard

fix(tippy-component): use Element constructor for to prop

Open J-Michalek opened this issue 9 months ago • 2 comments

Using Element as the prop constructor should work just fine. The usage of Function constructor also causes Vue warnings, when an Element is provided as the value.

This way there is no longer need to cast the prop using PropType<string | Element>.

J-Michalek avatar May 27 '24 06:05 J-Michalek