File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 12
12
13
13
import { HTMLAttributes } from 'react' ;
14
14
15
- interface GridRowGroupAria {
15
+ export interface GridRowGroupAria {
16
16
/** Props for the row group element. */
17
17
rowGroupProps : HTMLAttributes < HTMLElement >
18
18
}
Original file line number Diff line number Diff line change @@ -17,4 +17,9 @@ export * from './useTableHeaderRow';
17
17
export * from './useTableCell' ;
18
18
export * from './useTableSelectionCheckbox' ;
19
19
20
- export { useGridRowGroup as useTableRowGroup } from '@react-aria/grid' ;
20
+ // Workaround for a Parcel bug where re-exports don't work in the CommonJS output format...
21
+ // export {useGridRowGroup as useTableRowGroup} from '@react-aria/grid';
22
+ import { GridRowGroupAria , useGridRowGroup } from '@react-aria/grid' ;
23
+ export function useTableRowGroup ( ) : GridRowGroupAria {
24
+ return useGridRowGroup ( ) ;
25
+ }
You can’t perform that action at this time.
0 commit comments