@fattureincloud/fic-design-system 0.7.11 → 0.7.12
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.
|
@@ -63,13 +63,15 @@ export declare enum ColumnDefType {
|
|
|
63
63
|
GROUP = "group",
|
|
64
64
|
ACTION = "action"
|
|
65
65
|
}
|
|
66
|
-
interface ExtraColumnDef<T> extends IdentifiedColumnDef<T, CellProps> {
|
|
66
|
+
interface ExtraColumnDef<T> extends Omit<IdentifiedColumnDef<T, CellProps>, 'header'> {
|
|
67
67
|
isEditable: boolean;
|
|
68
68
|
onChange: (text: string, row: Row<T>) => void;
|
|
69
|
+
header?: IdentifiedColumnDef<T, CellProps>['header'] | JSX.Element;
|
|
69
70
|
}
|
|
70
|
-
interface InitalColumnDef<T> extends IdentifiedColumnDef<T, CellProps> {
|
|
71
|
+
interface InitalColumnDef<T> extends Omit<IdentifiedColumnDef<T, CellProps>, 'header'> {
|
|
71
72
|
isEditable?: false;
|
|
72
73
|
onChange?: never;
|
|
74
|
+
header?: IdentifiedColumnDef<T, CellProps>['header'] | JSX.Element;
|
|
73
75
|
}
|
|
74
76
|
export declare type AccessorColumnDef<T> = InitalColumnDef<T> | ExtraColumnDef<T>;
|
|
75
77
|
export declare enum ActionType {
|