Refactor #3965 - For Checkbox

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-24 14:53:22 +03:00
parent 9377287826
commit ba305c1886
3 changed files with 136 additions and 74 deletions

View file

@ -144,6 +144,11 @@ export interface CheckboxProps {
* @type {CheckboxPassThroughOptions}
*/
pt?: CheckboxPassThroughOptions;
/**
* When enabled, it removes component related styles in the core.
* @defaultValue false
*/
unstyled?: boolean;
}
export interface CheckboxSlots {
@ -156,6 +161,10 @@ export interface CheckboxSlots {
* State of the checkbox.
*/
checked: boolean;
/**
* Style class of the icon.
*/
class: string;
}): VNode[];
}