Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ export { default as TableHeader, HeaderProps } from './Header';
export { default as TableBody, TableBodyProps } from './Body';
export { default as RowWrapper, RowWrapperRow, RowWrapperProps } from './RowWrapper';
export { default as ExpandableRowContent } from './ExpandableRowContent';
export { sortable, headerCol, cellWidth, ISortable, expandable, isRowExpanded } from './utils';
export { sortable, headerCol, cellWidth, ISortable, expandable, isRowExpanded, compoundExpand } from './utils';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems close to export * from './utils';

Either way, the TS conversion in #2360 will eventually resolve this too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1... i am planning to circle back and ensure we can do export * on all exports, and that they are converted from default exports to named exports... will probably attempt this towards the end to be certain. I've gone ahead and rebased this change for now though!

export { SortByDirection } from './SortColumn';
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ export const headerCol: () => { component: string };
export const cellWidth: (width: string) => () => { className: string };
export const expandable: (value: ReactNode, extra: IExtra) => ReactNode;
export const isRowExpanded: (row: IRow, rows: Array<IRow>) => boolean | undefined;
export const compoundExpand: (value: ReactNode, extra: IExtra) => ISortable;