contentauth / c2pa-js

JavaScript SDK for displaying and validating C2PA data
https://opensource.contentauthenticity.org
MIT License
74 stars 40 forks source link

Impossible to use cai-indicator variants #123

Open clementh59 opened 1 year ago

clementh59 commented 1 year ago

Hi,

I am trying to use cai-indicator variants, as defined here

However, it seems to return always the same icon (cai-icon-info). is it intended?

When we look at the thumbnail, we have a selection of the icon based on the variant: https://github.com/contentauth/c2pa-js/blob/main/packages/c2pa-wc/src/components/Thumbnail/Thumbnail.ts#L41. And I can choose the icon I want when using this component. Shouldn't we be able to do the same thing for cai-indicator?

Regards, Clément