+
+ {this.state.allSites ? : null}
+
+
+ {this.state.allLibraries ? : null}
+
+
+
+
+
{ Office.context.ui.closeContainer(); }} />
+
+
+ {this.state.savedLink.length ?
+
+ window.open(this.state.savedLink,'_blank')}>OK
+
+ }>
+ {strings.PreviewMessage.replace("{libName}", this.state.selectedLibrary.text)}
+
+ : null}
+ {this.state.errMsg.length ?
+ {this.state.errMsg}
+
+ : null}
+
+
+ );
+ }
+ public onRenderforLib = (props: IDropdownProps): JSX.Element => {
+ return (
+