File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 80
80
"@types/react-dom" : " 17.0.17" ,
81
81
"@types/react-addons-shallow-compare" : " 0.14.17" ,
82
82
"@types/react-addons-test-utils" : " 0.14.15" ,
83
- "@types/react-addons-update" : " 0.14.14 " ,
83
+ "@types/react-addons-update" : " 0.14.21 " ,
84
84
"@types/react-mentions" : " ^4.1.3" ,
85
85
"@types/sinon" : " 2.3.4" ,
86
86
"@types/webpack-env" : " ~1.15.2" ,
Original file line number Diff line number Diff line change
1
+ import { IDropdownStyles } from 'office-ui-fabric-react' ;
2
+
1
3
import { BaseComponentContext } from '@microsoft/sp-component-base' ;
2
4
3
5
import { ISite } from '../../services/SPSitesService' ;
@@ -96,4 +98,6 @@ export interface ISitePickerProps {
96
98
* If mode is set to associatedsites and no hubsiteId is provided, the current site's hub ID will be used.
97
99
*/
98
100
hubsiteId ?: string ;
101
+ styles ?: IDropdownStyles ;
99
102
}
103
+ export { ISite } ;
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ export const SitePicker: React.FunctionComponent<ISitePickerProps> = (props: Rea
309
309
onChange = { onSelectionChange }
310
310
notifyOnReselect = { true }
311
311
className = { className }
312
- styles = { styles }
312
+ styles = { props . styles }
313
313
/>
314
314
</ >
315
315
) ;
You can’t perform that action at this time.
0 commit comments