@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/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +16 -14
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/NewsFilterBar/type.d.ts +6 -2
package/package.json
CHANGED
|
@@ -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?:
|
|
20
|
+
selectedOutletFxn?: (val: any) => void;
|
|
21
21
|
/**
|
|
22
22
|
* Callback function to receive the selected source country
|
|
23
23
|
*/
|
|
24
|
-
selectedCountryFxn?:
|
|
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
|
}
|