({isDisabled}: {isDisabled: boolean})
| 845 | }); |
| 846 | |
| 847 | function ListSelectionCheckbox({isDisabled}: {isDisabled: boolean}) { |
| 848 | let selectionContext = useSlottedContext(CheckboxContext, 'selection'); |
| 849 | let isSelectionDisabled = isDisabled || !!selectionContext?.isDisabled; |
| 850 | return ( |
| 851 | <div className={listCheckbox({isDisabled: isSelectionDisabled})}> |
| 852 | <Checkbox slot="selection" /> |
| 853 | </div> |
| 854 | ); |
| 855 | } |
| 856 | |
| 857 | export function ListViewItem(props: ListViewItemProps): ReactNode { |
| 858 | let ref = useRef(null); |
nothing calls this directly
no test coverage detected