Closed chriiisiscoding closed 1 month ago
Hi @chriiisiscoding
I had a chat with development who gave the following information:
We do not supply an icon or image library but you can use your own as shown below.
You can see here that inlineSvg is not the only possible type.
For example:
{
id: "xxxx",
name: "Our plugin"
icon: {
type: "imageUrl"
src: "http://url-to-image.png"
}
}
src
is equivalent to the same attribute in <img src="url-to-image.png" />
Cheers
Thank you! We will give this a shot.
Did this work for you @chriiisiscoding ?
Yes, thank you!
We defined a basic tool view command icon like so:
We would like to show a icon instead of a box (
rect
) or acircle
. Is there an icon library that we can access? Or is there a way to bring in icons from elsewhere?