You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
As stated in the documentation (https://kyvg.github.io/vue3-notification/api/#props) the 'classes' prop can receive String or Array types. But in fact Array leads to types mismatch error:
[Vue warn]: Invalid prop: type check failed for prop "classes". Expected String with value "vue-notification,n-light", got Array
To Reproduce
Set the prop 'classes' to any array of strings: <NuxtNotifications :classes="['vue-notification', 'n-light']" />
Expected behavior
Setting prop 'classes' to array of strings should adds all the classes listed in this array.
Additional context
There is the workaround: setting a list of classes separated by spaces. <NuxtNotifications classes="vue-notification n-light" />
But this is not an Array type.
The text was updated successfully, but these errors were encountered:
Describe the bug
As stated in the documentation (https://kyvg.github.io/vue3-notification/api/#props) the 'classes' prop can receive String or Array types. But in fact Array leads to types mismatch error:
To Reproduce
Set the prop 'classes' to any array of strings:
<NuxtNotifications :classes="['vue-notification', 'n-light']" />
Expected behavior
Setting prop 'classes' to array of strings should adds all the classes listed in this array.
Additional context
There is the workaround: setting a list of classes separated by spaces.
<NuxtNotifications classes="vue-notification n-light" />
But this is not an Array type.
The text was updated successfully, but these errors were encountered: