How to use the @blueprintjs/icons.IconNames.HELP function in @blueprintjs/icons

To help you get started, we’ve selected a few @blueprintjs/icons 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 pioneers / PieCentral / dawn / renderer / components / Status.js View on Github external
render() {
    let address = 'team42.local';
    let status = 'Unknown', icon = IconNames.HELP, intent;
    switch (this.props.status) {
      case ConnectionStatus.HEALTHY:
        status = 'Healthy';
        icon = IconNames.TICK_CIRCLE;
        intent = Intent.SUCCESS;
        break;
      case ConnectionStatus.WARNING:
        status = 'Warning';
        icon = IconNames.WARNING_SIGN;
        intent = Intent.WARNING;
        break;
      // case ConnectionStatus.ERROR:
      //   status = 'Error';
      //   icon = IconNames.ERROR;
      //   intent = Intent.DANGER;
      //   break;
github source-academy / cadet-frontend / src / components / dropdown / About.tsx View on Github external
const About: React.SFC = props => (
  <dialog title="About">
    <div>
      <div>
        <p>
          The <i>Source Academy</i> is a computer-mediated learning environment for studying the
          structure and interpretation of computer programs. Students write and run their programs
          in their web browser, using sublanguages of JavaScript called{' '}
          <a href="{LINKS.SOURCE_DOCS}">Source §1, Source §2, Source §3 and Source §4</a>, designed
          for the first four chapters of the textbook{' '}
          <a href="{LINKS.TEXTBOOK}">
            Structure and Interpretation of Computer Programs, JavaScript Adaptation
          </a></p></div></div></dialog>
github source-academy / cadet-frontend / src / components / dropdown / index.tsx View on Github external
const profile = this.props.name ? (
      <menuitem>
    ) : null;

    const logout = this.props.name ? (
      <menuitem>
    ) : null;

    return (
      <menu>
        {profile}
        <menuitem>
        <menuitem>
        {logout}
      </menuitem></menuitem></menu>
    );
  }
</menuitem></menuitem>
github apache / druid / web-console / src / views / query-view / column-tree / column-tree.tsx View on Github external
static dataTypeToIcon(dataType: string): IconName {
    switch (dataType) {
      case 'TIMESTAMP':
        return IconNames.TIME;
      case 'VARCHAR':
        return IconNames.FONT;
      case 'BIGINT':
      case 'FLOAT':
        return IconNames.NUMERICAL;
      default:
        return IconNames.HELP;
    }
  }
github apache / druid / web-console / src / views / sql-view / sql-control / sql-control.tsx View on Github external
renderExtraMenu(isRune: boolean) {
    const { onExplain } = this.props;
    const { query, autoComplete, useCache, wrapQuery, useApproximateCountDistinct, useApproximateTopN } = this.state;

    return <menu>
      <menuitem href="{isRune">
      {
        !isRune &amp;&amp;
        &lt;&gt;
          <menuitem> onExplain(query, this.getContext())}
          /&gt;
           this.setState({wrapQuery: !wrapQuery})}</menuitem></menuitem></menu>
github carrot2 / carrot2 / dcs / contexts / frontend / src / carrot2 / config-views.js View on Github external
},

  "treemap": {
    label: "Treemap",
    createContentElement: (props) =&gt; {
      const treemapProps = {
        ...props,
        configStore: treemapConfigStore,
        implRef: treemapImplRef
      };
      return ;
    },
    tools: [
      {
        id: "interaction",
        icon: IconNames.HELP,
        createContentElement: (props) =&gt; {
          return ;
        },
        title: "Treemap interaction help"
      },
      {
        id: "export-image",
        createContentElement: (props) =&gt; {
          return ;
        },
        title: "Export treemap as JPEG"
      },
      {
        id: "config",
        icon: IconNames.COG,
        createContentElement: (props) =&gt; {
github apache / druid / web-console / src / views / query-view / run-button / run-button.tsx View on Github external
queryContext,
      onQueryContextChange,
      onEditContext,
      onHistory,
      onPrettier,
    } = this.props;

    const useCache = getUseCache(queryContext);
    const useApproximateCountDistinct = getUseApproximateCountDistinct(queryContext);
    const useApproximateTopN = getUseApproximateTopN(queryContext);
    const numContextKeys = Object.keys(queryContext).length;

    return (
      <menu>
        <menuitem href="{runeMode">
        <menuitem>
        {!runeMode &amp;&amp; (
          &lt;&gt;
            {onExplain &amp;&amp; (
              <menuitem>
            )}
             {
                onQueryContextChange(
                  setUseApproximateCountDistinct(queryContext, !useApproximateCountDistinct),</menuitem></menuitem></menuitem></menu>
github carrot2 / carrot2 / dcs / contexts / frontend / src / carrot2 / config-views.js View on Github external
},

  "pie-chart": {
    label: "Pie-chart",
    createContentElement: (props) =&gt; {
      const piechartProps = {
        ...props,
        configStore: pieChartConfigStore,
        implRef: piechartImplRef
      };
      return ;
    },
    tools: [
      {
        id: "interaction",
        icon: IconNames.HELP,
        createContentElement: (props) =&gt; {
          return ;
        }
      },
      {
        id: "export-image",
        createContentElement: (props) =&gt; {
          return ;
        },
        title: "Export pie-chart as JPEG"
      },
      {
        id: "config",
        icon: IconNames.COG,
        createContentElement: (props) =&gt; {
          return ;
github apache / druid / web-console / src / components / header-bar / header-bar.tsx View on Github external
<button>
        
        
          </button><button>
        
      
      {aboutDialogOpen &amp;&amp;  setAboutDialogOpen(false)} /&gt;}
      {doctorDialogOpen &amp;&amp;  setDoctorDialogOpen(false)} /&gt;}
      {coordinatorDynamicConfigDialogOpen &amp;&amp; (
         setCoordinatorDynamicConfigDialogOpen(false)}
        /&gt;
      )}
      {overlordDynamicConfigDialogOpen &amp;&amp; (
         setOverlordDynamicConfigDialogOpen(false)} /&gt;
      )}
    
  );
});
</button>