primevue-mirror/packages/primevue/scripts/components/badgedirective.js

27 lines
670 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'
},
{
name: 'warn',
2022-09-14 14:26:41 +00:00
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
}
};