Skip to content

Commit

Permalink
Allow only some columns to be listed in MCL columnWidth prop
Browse files Browse the repository at this point in the history
  • Loading branch information
ncovercash committed Feb 23, 2024
1 parent 74aa1ea commit 0c3b176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/MultiColumnList/MultiColumnList.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface MultiColumnListBaseProps<DataShape, OmittedColumns extends stri
/** If a column should show overflow */
columnOverflow?: Record<keyof Omit<DataShape, OmittedColumns>, boolean>;
/** Set widths for columns, either as direct widths or min/max pixels */
columnWidths?: Record<keyof Omit<DataShape, OmittedColumns>, ColumnWidth>;
columnWidths?: Partial<Record<keyof Omit<DataShape, OmittedColumns>, ColumnWidth>>;
/** A ref to the MCL's container */
containerRef?: RefObject<HTMLDivElement>;
/** The list's data */
Expand Down

0 comments on commit 0c3b176

Please sign in to comment.