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

35 lines
814 B
JavaScript
Raw Normal View History

const BadgeProps = [
{
2022-09-14 14:26:41 +00:00
name: 'value',
type: 'string | number',
2022-09-14 14:26:41 +00:00
default: 'null',
description: 'Value to display inside the badge.'
},
{
2022-09-14 14:26:41 +00:00
name: 'severity',
type: 'string',
default: 'null',
description: 'Severity type of the badge.'
},
{
2022-09-14 14:26:41 +00:00
name: 'size',
type: 'string',
default: 'null',
description: 'Size of the badge, valid options are "large" and "xlarge".'
2023-04-21 13:22:04 +00:00
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.'
}
];
module.exports = {
badge: {
2022-09-14 14:26:41 +00:00
name: 'Badge',
description: 'Badge is a small status indicator for another element.',
props: BadgeProps
}
};