@secondstaxorg/sscomp 2.0.35 → 2.0.37

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": "2.0.35",
3
+ "version": "2.0.37",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -17,11 +17,11 @@ export interface NewsFilterProps extends React.HTMLAttributes<any> {
17
17
  /**
18
18
  * Callback function to receive the selected outlet
19
19
  */
20
- selectedOutletFxn?: Function;
20
+ selectedOutletFxn?: (val: any) => void;
21
21
  /**
22
22
  * Callback function to receive the selected source country
23
23
  */
24
- selectedCountryFxn?: Function;
24
+ selectedCountryFxn?: (val: any) => void;
25
25
  /**
26
26
  * Theme of the component whether to be in light mode or dark
27
27
  */
@@ -35,4 +35,8 @@ export interface NewsFilterProps extends React.HTMLAttributes<any> {
35
35
  selectOutletPlaceholder?: string;
36
36
  allOption?: string;
37
37
  };
38
+ /**
39
+ * Specify the label or value of the outlet you want preselected on page load
40
+ */
41
+ initialOutlet?: string;
38
42
  }