primevue-mirror/api-generator/components/badgedirective.js

27 lines
673 B
JavaScript
Raw Normal View History

const BadgeDirectiveModifiers = [
{
2022-09-14 14:26:41 +00:00
name: 'success',
description: 'Overrides default severity color'
},
{
2022-09-14 14:26:41 +00:00
name: 'info',
description: 'Default color for severity levels'
},
{
2022-09-14 14:26:41 +00:00
name: 'warning',
description: 'Overrides default severity color'
},
{
2022-09-14 14:26:41 +00:00
name: 'danger',
description: 'Overrides default severity color'
}
];
module.exports = {
badgedirective: {
2022-09-14 14:26:41 +00:00
name: 'BadgeDirective',
description: 'When Badge used as a directive, badge needs to be configured at the application with a name of your choice.',
'vue-modifiers': BadgeDirectiveModifiers
}
};