We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d353035 commit f8f481dCopy full SHA for f8f481d
packages/x-tree-view/src/TreeItem/TreeItem.types.ts
@@ -71,7 +71,11 @@ export interface TreeItemSlotProps extends TreeItemIconSlotProps {
71
content?: SlotComponentProps<'div', {}, {}>;
72
groupTransition?: SlotComponentPropsFromProps<TransitionProps, {}, {}>;
73
iconContainer?: SlotComponentProps<'div', {}, {}>;
74
- checkbox?: SlotComponentProps<'button', {}, {}>;
+ checkbox?: SlotComponentProps<
75
+ React.ElementType<React.HTMLAttributes<HTMLButtonElement> & { visible?: boolean }>,
76
+ {},
77
+ {}
78
+ >;
79
label?: SlotComponentProps<'div', {}, {}>;
80
labelInput?: SlotComponentProps<'input', {}, {}>;
81
dragAndDropOverlay?: SlotComponentProps<'div', {}, {}>;
0 commit comments