schummar-table 0.31.0 → 0.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -156,7 +156,7 @@ export interface TableProps<T> extends PartialTableTheme<T> {
156
156
  /** Default props for all column. Will take effect if not overriden in column definition. */
157
157
  defaultColumnProps?: Omit<Column<T, unknown>, 'id' | 'value'>;
158
158
  /** Set props for multiple columns at once. Will take effect if not overriden in column definition. */
159
- columnProps?: FunctionWithDeps<(id: Id) => Omit<Column<T, unknown>, 'id'>>;
159
+ columnProps?: FunctionWithDeps<(id: Id) => Partial<Omit<Column<T, unknown>, 'id'>>>;
160
160
  /** Wrap each cell */
161
161
  wrapCell?: FunctionWithDeps<(content: ReactNode, value: unknown, item: T, index: number) => ReactNode>;
162
162
  /** Display a cell at the start of each row. Useful for "go to details" button for example. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "schummar-table",
3
- "version": "0.31.0",
3
+ "version": "0.31.1",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "repository": "schummar/schummar-table",