@secondstaxorg/sscomp 1.7.42 → 1.7.43

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "1.7.42",
3
+ "version": "1.7.43",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -2,10 +2,7 @@ export interface SelectorProps {
2
2
  /**
3
3
  * Array containing items to be listed in the component
4
4
  */
5
- itemsList: {
6
- value?: string;
7
- label: string;
8
- }[];
5
+ itemsList: itemType[];
9
6
  /**
10
7
  * Callback function passing out the selected item when clicked
11
8
  */
@@ -60,4 +57,9 @@ export interface SelectorProps {
60
57
  * Specify the number of columns if arrangement is horizontal
61
58
  * */
62
59
  numCols?: number;
60
+ value?: itemType | itemType[];
63
61
  }
62
+ export declare type itemType = {
63
+ label: string;
64
+ value?: string;
65
+ };