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

@ -7,7 +7,7 @@
* @module tristatecheckbox
*
*/
import { InputHTMLAttributes } from 'vue';
import { InputHTMLAttributes, VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
/**
@ -49,7 +49,20 @@ export interface TriStateCheckboxProps {
/**
* Defines valid slots in TriStateCheckbox component.
*/
export interface TriStateCheckboxSlots {}
export interface TriStateCheckboxSlots {
/**
* Custom check icon template.
*/
checkicon(): VNode[];
/**
* Custom uncheck icon template.
*/
uncheckicon(): VNode[];
/**
* Custom nullable icon template.
*/
nullableicon(): VNode[];
}
/**
* Defines valid emits in TriStateCheckbox component.