api generator updates

This commit is contained in:
Tuğçe Küçükoğlu 2023-04-18 16:42:36 +03:00
parent c4fcf01413
commit 4d1e62b33a
27 changed files with 174 additions and 26 deletions

View file

@ -49,6 +49,21 @@ const RatingProps = [
}
];
const RatingSlots = [
{
name: 'cancelicon',
description: 'Custom cancel icon template.'
},
{
name: 'onicon',
description: 'Custom on icon template.'
},
{
name: 'officon',
description: 'Custom off icon template.'
}
];
const RatingEvents = [
{
name: 'change',
@ -73,6 +88,7 @@ module.exports = {
name: 'rating',
description: 'Rating component is a star based selection input.',
props: RatingProps,
slots: RatingSlots,
events: RatingEvents
}
};