bootstrap-icons-vue icon indicating copy to clipboard operation
bootstrap-icons-vue copied to clipboard

Export genIcon in index.ts

Open simplg opened this issue 4 years ago • 1 comments
trafficstars

Hi! I love your package and I've been using it for a couple of my personal vue-3 projects. As we know, bootstrap icons don't have a huge icons library available and I always find me having to get some svg from other sources. So, I don't know if I'm the only one doing it but to insert them in my vue components, I've been using (copy-pasting with credits) the genIcon function (from utils.ts) to generate vue component for each of these icons.

It could be nice to have it available as an export on index.ts so people can more easily extend the bootstrap icons library with their own svg (royalty free or paid).

simplg avatar May 24 '21 12:05 simplg

Hi I am glad you find this library useful. Your idea sounds good, I will work on it when I have time.

tommyip avatar May 25 '21 03:05 tommyip