How to use @pnp/spfx-controls-react - 6 common examples

To help you get started, we’ve selected a few @pnp/spfx-controls-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-extensions / samples / react-command-mail-view-as-image / src / extensions / mailViewAsImage / components / MailDetailsDialog.tsx View on Github external
<div>
                                        <label> File name</label>
                                        
                                        <label> Library</label>
                                        
                                    </div>
                                }
                                <br>
                                {this.state.status}
                            
                        
                    
                

                
                     {
                        this.setState({ loading: true, status:  });
                        this.props.submit(this.state);
                    }} /&gt;
github SharePoint / sp-dev-fx-webparts / samples / react-calendar / src / controls / Event / event.tsx View on Github external
&lt; Label &gt; Event Description

                <div>
                  
                </div>
                <div>
                  
                </div>
                <div>
                  
                </div>
                <div></div>
github SharePoint / sp-dev-fx-extensions / samples / react-command-mail-view-as-image / src / extensions / mailViewAsImage / components / MailDetailsDialog.tsx View on Github external
offText="No"
                                    onChanged={this._onChangedInternal}
                                /&gt;
                                <label> {this.state.sendToInternalUser ? " Choose a colleague" : " Type an email address (external user)"}</label>

                                {
                                    this.state.sendToInternalUser ?

                                         :
                                        
                                }

                                {
                                    this.state.sendToInternalUser &amp;&amp; this.state.selectedUserHasPermission
                                        ? <div>
                                            <br>
                                            
                                        </div>
                                        :
                                        null
                                }
github SharePoint / sp-dev-fx-webparts / samples / react-mytasks / src / webparts / myTasks / components / Attachments / Attachments.tsx View on Github external
menuProps={addAttachmentMenuProps}
          disabled={false}
          checked={true}
        /&gt;
        {this.state.uploadFile &amp;&amp; (
          
        )}
        <div style="{{">
        {this.state.hasError &amp;&amp; {this.state.errorMessage}}
        {this.state.isLoading &amp;&amp; }
        <div style="{{">
          
        </div>
        {this.state.displayUploadFromSharePoint &amp;&amp; (
          
        )}</div>
github SharePoint / sp-dev-fx-webparts / samples / react-events-dynamicdata / src / webparts / events / components / Events.tsx View on Github external
items={events}
            viewFields={[
              {
                name: 'name',
                displayName: 'Event',
                sorting: true
              },
              {
                name: 'city',
                displayName: 'Location',
                sorting: true,
                minWidth: 100
              }
            ]}
            compact={true}
            selectionMode={SelectionMode.single}
            selection={this._getSelection} /&gt;}
      
    );
  }
}