@secondstaxorg/sscomp 2.0.35 → 2.0.36
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 +2 -2
- 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/dist/index.js
CHANGED
|
@@ -22411,9 +22411,9 @@ const _jsxFileName$Q = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\compon
|
|
|
22411
22411
|
* Filter bar for news items on the news application
|
|
22412
22412
|
*/
|
|
22413
22413
|
const NewsFilterBar = (props) => {
|
|
22414
|
-
const {countries,outlets,selectedCountryFxn,selectedOutletFxn,theme,labelOverrides} = props;
|
|
22414
|
+
const {countries,outlets,selectedCountryFxn,selectedOutletFxn,initialOutlet,theme,labelOverrides} = props;
|
|
22415
22415
|
const [windowWidth,setWindowWidth] = React$1.useState(720);
|
|
22416
|
-
const [outletInitText,setOutletInitText] = React$1.useState('');
|
|
22416
|
+
const [outletInitText,setOutletInitText] = React$1.useState(initialOutlet || '');
|
|
22417
22417
|
|
|
22418
22418
|
React$1.useEffect(() => {
|
|
22419
22419
|
setWindowWidth(window.innerWidth);
|