How to use the office-ui-fabric-react.DialogType.normal function in office-ui-fabric-react

To help you get started, we’ve selected a few office-ui-fabric-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SharePoint / sp-dev-fx-webparts / samples / react-mytasks / src / Controls / EditLink / EditLink.tsx View on Github external
public render(): React.ReactElement {
		return (
			<div>
				<dialog hidden="{this.state.hideDialog}">
					
						</dialog></div>
github SharePoint / sp-dev-fx-webparts / samples / react-mytasks / src / webparts / myTasks / components / EditTask / EditTask.tsx View on Github external
style:{backgroundColor: '#1fe0' },
                menuIconProps: { iconName: '' },
                menuProps:{
                  items: [

                    {
                      key: '1',
                      text: strings.RemoveLabel,
                      iconProps: { iconName: 'Delete' },
                      onClick: this._onClickDeleteTask.bind(this)
                    }
                  ]
                },
                checked: true
            }],
            type: DialogType.normal,
            title: !this.state.isLoading ?  : ''
          }}
          modalProps={{
            isBlocking: false,
            styles: jsStyles.modalStyles
            //  topOffsetFixed: true
          }}&gt;
          {this.state.isLoading ? (
            
          ) : (
            &lt;&gt;
github SharePoint / sp-dev-fx-webparts / samples / react-mytasks / src / Controls / UploadFromSharePoint / UploadFromSharePoint.tsx View on Github external
public render(): React.ReactElement {
    return (
      <div>
        <dialog hidden="{this.state.hideDialog}">
          {this.state.isloading ? (
            <div style="{{">
            
            </div>
          ) : (
            &lt;&gt;
              {this.state.hasError &amp;&amp; {this.state.messageError}}
              <div style="{{">
              <label>{this.state.messageInfo}</label></div></dialog></div>
github OfficeDev / office-ui-fabric-react / apps / vr-tests / src / stories / Dialog.stories.tsx View on Github external
.addStory('Blocking', () =&gt; (
    <dialog hidden="{false}">
      {footer}
    </dialog>
  ));
github OfficeDev / office-ui-fabric-react / apps / vr-tests / src / stories / Dialog.stories.tsx View on Github external
() =&gt; (
      <dialog hidden="{false}">
        {footer}
      </dialog>
    ),
    { rtl: true }
github microsoft / pai / src / webportal / src / app / user / fabric / user-profile / token-list.jsx View on Github external
];

  return (
    <div>
      
      <dialog hidden="{!revokeToken}"> setRevokeToken(null)}
        dialogContentProps={{
          type: DialogType.normal,
          title: 'Revoke Token',
        }}
        modalProps={{
          isBlocking: true,
        }}
        minWidth={400}
      &gt;
        <div>Are you sure you want to revoke the selected token?</div>
        
           {
              setProcessing(true);
              onRevoke(revokeToken).finally(() =&gt; {
                setRevokeToken(null);
                setProcessing(false);
              });</dialog></div>
github microsoft / PowerToys / src / settings-web / src / components / App.tsx View on Github external
settings_key={this.state.selected_menu}
                    powertoy={this.state.settings.powertoys[this.state.selected_menu]}
                    on_change={this.on_setting_change}
                    ref={(input:any) =&gt; {this.settings_screen_ref = input;}}
                    /&gt;
                }
              })()
            }
            
          
        
        <dialog hidden="{!this.state.show_save_discard_dialog}">
          </dialog>
github microsoft / accessibility-insights-web / src / common / components / telemetry-permission-dialog.tsx View on Github external
public render(): JSX.Element {
        if (!this.props.isFirstTime) {
            return null;
        }
        return (
            <dialog hidden="{false}">
                <div>
                    
                </div>
                <div>
                    </div></dialog>