@firecms/core 3.0.0-alpha.24 → 3.0.0-alpha.26

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.
@@ -83,12 +83,13 @@ export type EntityCollectionTableProps<M extends Record<string, any>, Additional
83
83
  filterable?: boolean;
84
84
  sortable?: boolean;
85
85
  endAdornment?: React.ReactNode;
86
- additionalHeaderWidget?: (props: {
86
+ AdditionalHeaderWidget?: (props: {
87
87
  property: ResolvedProperty;
88
88
  propertyKey: string;
89
89
  onHover: boolean;
90
90
  }) => React.ReactNode;
91
91
  AddColumnComponent?: React.ComponentType;
92
+ additionalIDHeaderWidget?: React.ReactNode;
92
93
  };
93
94
  export type GetPropertyForProps<M extends Record<string, any>> = {
94
95
  propertyKey: string;
@@ -19,7 +19,9 @@ type VirtualTableHeaderProps<M extends Record<string, any>> = {
19
19
  onFilterUpdate: (column: VirtualTableColumn, filterForProperty?: [VirtualTableWhereFilterOp, any]) => void;
20
20
  onClickResizeColumn?: (columnIndex: number, column: VirtualTableColumn) => void;
21
21
  createFilterField?: (props: FilterFormFieldProps<any>) => React.ReactNode;
22
- additionalHeaderWidget?: (onHover: boolean) => React.ReactNode;
22
+ AdditionalHeaderWidget?: (props: {
23
+ onHover: boolean;
24
+ }) => React.ReactNode;
23
25
  };
24
26
  export declare const VirtualTableHeader: React.FunctionComponent<VirtualTableHeaderProps<any>>;
25
27
  export {};
@@ -178,7 +178,9 @@ export interface VirtualTableColumn<CustomProps extends any = any> {
178
178
  /**
179
179
  * Additional children to be rendered in the header when hovering
180
180
  */
181
- additionalHeaderWidget?: (onHover: boolean) => React.ReactNode;
181
+ AdditionalHeaderWidget?: (props: {
182
+ onHover: boolean;
183
+ }) => React.ReactNode;
182
184
  }
183
185
  /**
184
186
  * @see Table