@gyramais/gyra-design 0.1.21 → 0.1.23

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.
@@ -1,10 +1,14 @@
1
1
  import React from "react";
2
2
  import "./index.css";
3
- type FilterType = 'text' | 'boolean' | 'number';
3
+ type FilterType = 'text' | 'number' | 'boolean' | 'select';
4
4
  type FilterItem = {
5
5
  key: string;
6
6
  name: string;
7
7
  type: FilterType;
8
+ options?: Array<{
9
+ value: string;
10
+ label: string;
11
+ }>;
8
12
  };
9
13
  type FilterProps = {
10
14
  id?: string;
@@ -1,10 +1,14 @@
1
1
  import React from "react";
2
2
  import "./index.css";
3
- type MultipleFilterType = 'text' | 'boolean' | 'number';
3
+ type MultipleFilterType = 'text' | 'number' | 'boolean' | 'select';
4
4
  type MultipleFilterItem = {
5
5
  key: string;
6
6
  name: string;
7
7
  type: MultipleFilterType;
8
+ options?: Array<{
9
+ value: string;
10
+ label: string;
11
+ }>;
8
12
  };
9
13
  type MultipleFilterProps = {
10
14
  id?: string;