File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
polaris-react/src/components/IndexTable/components/Row Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' polaris-glints ' : minor
3+ ---
4+
5+ IndexTable checkbox table cell class
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ export interface RowProps {
2424 onNavigation ?( id : string ) : void ;
2525 onClick ?( ) : void ;
2626 checkbox ?: React . ReactNode ;
27- onMouseOverCheckboxCell ?( ) : void ;
28- onMouseLeaveCheckboxCell ?( ) : void ;
2927}
3028
3129export const Row = memo ( function Row ( {
@@ -39,8 +37,6 @@ export const Row = memo(function Row({
3937 onNavigation,
4038 onClick,
4139 checkbox,
42- onMouseOverCheckboxCell,
43- onMouseLeaveCheckboxCell,
4440} : RowProps ) {
4541 const { selectable, selectMode, condensed} = useIndexRow ( ) ;
4642 const onSelectionChange = useIndexSelectionChange ( ) ;
@@ -147,11 +143,7 @@ export const Row = memo(function Row({
147143 const RowWrapper = condensed ? 'li' : 'tr' ;
148144
149145 const checkboxMarkup = selectable ? (
150- < td
151- className = "Polaris-IndexTable__TableCell"
152- onMouseOver = { onMouseOverCheckboxCell }
153- onMouseLeave = { onMouseLeaveCheckboxCell }
154- >
146+ < td className = "Polaris-IndexTable__TableCell Polaris-IndexTable__TableCellCheckbox" >
155147 { checkbox }
156148 </ td >
157149 ) : null ;
You can’t perform that action at this time.
0 commit comments