mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - For Checkbox
This commit is contained in:
parent
9377287826
commit
ba305c1886
3 changed files with 136 additions and 74 deletions
9
components/lib/checkbox/Checkbox.d.ts
vendored
9
components/lib/checkbox/Checkbox.d.ts
vendored
|
@ -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[];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue