Skip to content

Commit

Permalink
Fix primefaces#7126 : update Tree TypeScript documentation
Browse files Browse the repository at this point in the history
* replace the PassThrought options 'checkboxContainer' and 'checkbox'  with 'nodeCheckbox'
  • Loading branch information
kyybo authored Sep 11, 2024
1 parent 849ae9f commit 4c5651c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions components/lib/tree/tree.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,9 @@ export interface TreePassThroughOptions {
*/
togglerIcon?: TreePassThroughType<React.HTMLAttributes<HTMLButtonElement>>;
/**
* Uses to pass attributes to the checkbox container's DOM element.
* Uses to pass attributes to the node checkbox's DOM element.
*/
checkboxContainer?: TreePassThroughType<React.HTMLAttributes<HTMLDivElement>>;
/**
* Uses to pass attributes to the checkbox's DOM element.
*/
checkbox?: TreePassThroughType<React.HTMLAttributes<HTMLDivElement>>;
nodeCheckbox?: TreePassThroughType<React.HTMLAttributes<HTMLDivElement>>;
/**
* Uses to pass attributes to the checkbox icon's DOM element.
*/
Expand Down

0 comments on commit 4c5651c

Please sign in to comment.