How to use the @blueprintjs/core.Intent.PRIMARY function in @blueprintjs/core

To help you get started, we’ve selected a few @blueprintjs/core 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 secret-tech / frontend-ico-dashboard / src / components / referrals / Address / index.js View on Github external
} = this.props;

    const { copied } = this.state;

    return (
      <div>
        <div>
          <input value="{address}/" disabled="">

          <div>
             this.setState({ copied: true })}&gt;
              <button size="small">
                {copied ? t('address.copied') : t('address.copy')}
              </button>
            
          </div>

          {/* <div>
            <button size="small"> openInvitePopup()}&gt;{t('inviteReferralsByEmail')}</button>
          </div> */}
        </div>
      </div>
    );
  }
}
github jauhararifin / ugrade / desktop / src / scenes / Dashboard / Clarifications / ClarificationsView.tsx View on Github external
large={true}
                          intent={Intent.DANGER}
                        &gt;
                          {notReadCount}
                        
                      <p></p>
                    )}
                  
                
              
              <div>
                {content &amp;&amp; <div>{content.content}</div>}
              </div>
              <div>
                <button>
                  Show Detail
                </button>
              </div>
            
          )
        })}
github cloudwan / gohan_webui / src / components / Table / index.js View on Github external
className={`${column.id} ${item[column.id]}`}&gt;
                        {item[column.id]}
                      
                    );
                  }

                  return (
                    
                      {item[column.id]}
                    
                  );
                })}

                {item.deleting &amp;&amp; (
                  
                    
                  
                )}
                {!item.deleting &amp;&amp; optionsColumn &amp;&amp; (
                  
                    
                      
                        
                      
                    
                    {optionsColumn.edit &amp;&amp; optionsColumn.edit.visible &amp;&amp; (
                      
                        <span> optionsColumn.edit.onClick(item)} className="action-icon edit mr-2"&gt;
                          
                        </span>
github stitchfix / flotilla-os / ui / src / components / App.tsx View on Github external
ls.getItem(LOCAL_STORAGE_IS_ONBOARDED_KEY).then(res =&gt; {
      if (res !== true) {
        Toaster.show({
          icon: "clean",
          message:
            "You can now configure global settings via the Settings menu.",
          timeout: 0,
          intent: Intent.PRIMARY,
          action: {
            onClick: () =&gt; {
              ls.setItem(LOCAL_STORAGE_IS_ONBOARDED_KEY, true).then(
                () =&gt; {
                  this.props.dispatch(toggleDialogVisibilityChange(true))
                }
              )
            },
            text: "Open settings menu",
          },
          onDismiss: () =&gt; {
            ls.setItem(LOCAL_STORAGE_IS_ONBOARDED_KEY, true)
          },
        })
      }
    })
github QardsJs / qards / src / components / qard / countdown / index.tsx View on Github external
{fourthLabel}
							
						
					
				
				
					{title &amp;&amp; <title>
						&lt;EndedTag intent={isEnded ? Intent.DANGER : Intent.SUCCESS}&gt;
							{isEnded &amp;&amp; &lt;span&gt;Ended on&lt;/span&gt;} {dateRelativeToUser}
						&lt;/EndedTag&gt;

						&lt;EndedTag intent={Intent.PRIMARY} className={'tz'}&gt;
							{userTz}
						&lt;/EndedTag&gt;
						{title}
					</title>}
					{subtitle &amp;&amp; {subtitle}}
				
			
		;
	}
}
github pubpub / pubpub / client / containers / Dash / PubOverview.js View on Github external
width={75}
					isBlock={true}
				/&gt;
				<div>
					<div>{activePub.title}</div>
					<div>{generateAuthorString(activePub)}</div>
					<div>
						Created: {dateFormat(activePub.createdAt, 'mmm dd, yyyy')}
						{activePub.DOI ? ` · ${activePub.doi}` : ''}
					</div>
				</div>
				<div>
					<button>
					
				</button></div>
			
			<div>
				<div>Branches</div>
				<div>
					<div>#public</div>
					<div>Last updated 2 days ago</div>
					<div>
						
						<button></button></div></div></div>
github TeselaGen / openVectorEditor / src / helperComponents / AddOrEditAnnotationDialog / index.js View on Github external
end:
                      updatedData.locations[updatedData.locations.length - 1]
                        .end,
                    locations: updatedData.locations.map(convertRangeTo0Based)
                  })
                }),
                {
                  sequenceData,
                  annotationType: "features"
                }
              );
              upsertAnnotation(newFeat);
              annotationVisibilityShow(annotationTypePlural);
              hideModal();
            })}
            intent={Intent.PRIMARY}
          &gt;
            Save
          
        
      
    );
  }
}
github MacroConnections / DIVE-frontend / src / js / components / Visualizations / Explore / ExploreView.js View on Github external
} else {
                return;
              }
            })}
            { areFieldsSelected &amp;&amp; (recommendationMode == 'regular') &amp;&amp;
              <div>
                
                <div>
                  <button> context.clickQueryStringTrackedItem({ recommendationMode: 'expanded' }, false) }
                  /&gt;
                </button></div>
              </div>
            }
          
        
      
    );
  }
}