Refactor #3832 Refactor #3833 - For TriStateCheckbox

This commit is contained in:
Tuğçe Küçükoğlu 2023-04-04 15:42:13 +03:00
parent 6672378d51
commit 5ea506913f
3 changed files with 46 additions and 4 deletions

View file

@ -43,10 +43,26 @@ const TriStateCheckboxProps = [
}
];
const TriStateCheckboxSlots = [
{
name: 'checkicon',
description: 'Custom check icon template.'
},
{
name: 'uncheckicon',
description: 'Custom uncheck icon template.'
},
{
name: 'nullableicon',
description: 'Custom nullable icon template.'
}
];
module.exports = {
tristatecheckbox: {
name: 'TriStateCheckbox',
description: 'TriStateCheckbox is used to select either "true", "false" or "null" as the value.',
props: TriStateCheckboxProps
props: TriStateCheckboxProps,
slots: TriStateCheckboxSlots
}
};