@syook/react-tabulous 4.0.4 → 4.0.6

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.
package/lib/index.d.ts CHANGED
@@ -64,6 +64,12 @@ type GridActionsCellItemProps = {
64
64
  showInMenu: true;
65
65
  });
66
66
 
67
+ type ValueType = string | number | boolean;
68
+ interface OptionInterface {
69
+ value: ValueType;
70
+ label: string | number;
71
+ }
72
+
67
73
  interface GridBaseColDef<R extends GridValidRowModel = GridValidRowModel, V = any, F = V> {
68
74
  /**
69
75
  * The column identifier. It's used to map with [[GridRowModel]] values.
@@ -116,6 +122,10 @@ interface GridBaseColDef<R extends GridValidRowModel = GridValidRowModel, V = an
116
122
  * The column to sortable or not.
117
123
  */
118
124
  isFilterable?: boolean;
125
+ /**
126
+ * The column to show options in filter.
127
+ */
128
+ options?: OptionInterface[];
119
129
  }
120
130
  interface GridActionsColDef<R extends GridValidRowModel = any, V = any, F = V> extends GridBaseColDef<R, V, F> {
121
131
  /**