How to use the @blueprintjs/icons.IconNames.EYE_OPEN 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 source-academy / cadet-frontend / src / components / assessment / index.tsx View on Github external
let label: string;
    switch (overview.status) {
      case AssessmentStatuses.not_attempted:
        icon = IconNames.PLAY;
        label = 'Attempt';
        break;
      case AssessmentStatuses.attempting:
        icon = IconNames.PLAY;
        label = 'Continue Attempt';
        break;
      case AssessmentStatuses.attempted:
        icon = IconNames.EDIT;
        label = 'Review Attempt';
        break;
      case AssessmentStatuses.submitted:
        icon = IconNames.EYE_OPEN;
        label = 'Review Submission';
        break;
      default:
        // If we reach this case, backend data did not fit IAssessmentOverview
        icon = IconNames.PLAY;
        label = 'Review';
        break;
    }
    return (
      
        {controlButton(label, icon, () =>
          this.props.handleAcknowledgeNotifications(filterNotificationsByAssessment(overview.id))
github source-academy / cadet-frontend / src / components / sourcecast / Sourcereel.tsx View on Github external
public getTimerDuration = () =>
    this.props.timeElapsedBeforePause + Date.now() - this.props.timeResumed;

  private handleRecordInit = () =>
    this.props.handleRecordInit({
      chapter: this.props.sourceChapter,
      externalLibrary: this.props.externalLibraryName as ExternalLibraryName,
      editorValue: this.props.editorValue
    });
}

const INTRODUCTION = 'Welcome to Sourcereel!';

const listVisualizerTab: SideContentTab = {
  label: 'Data Visualizer',
  iconName: IconNames.EYE_OPEN,
  body: ,
  id: SideContentType.dataVisualiser
};

const inspectorTab: SideContentTab = {
  label: 'Inspector',
  iconName: IconNames.SEARCH,
  body: ,
  id: SideContentType.inspector
};

const envVisualizerTab: SideContentTab = {
  label: 'Env Visualizer',
  iconName: IconNames.GLOBE,
  body: ,
  id: SideContentType.envVisualiser
github source-academy / cadet-frontend / src / components / Playground.tsx View on Github external
...this.state,
      isGreen: !this.state.isGreen
    });
  }
}

const playgroundIntroductionTab: SideContentTab = {
  label: 'Introduction',
  iconName: IconNames.COMPASS,
  body: ,
  id: SideContentType.introduction
};

const listVisualizerTab: SideContentTab = {
  label: 'Data Visualizer',
  iconName: IconNames.EYE_OPEN,
  body: ,
  id: SideContentType.dataVisualiser
};

const videoDisplayTab: SideContentTab = {
  label: 'Video Display',
  iconName: IconNames.MOBILE_VIDEO,
  body: 
};

const inspectorTab: SideContentTab = {
  label: 'Inspector',
  iconName: IconNames.SEARCH,
  body: ,
  id: SideContentType.inspector
};
github source-academy / cadet-frontend / src / components / sourcecast / Sourcecast.tsx View on Github external
handleExternalSelect: this.props.handleExternalSelect
    };
    return (
      <div>
        
        
      </div>
    );
  }
}

const INTRODUCTION = 'Welcome to Sourcecast!';

const listVisualizerTab: SideContentTab = {
  label: 'Data Visualizer',
  iconName: IconNames.EYE_OPEN,
  body: ,
  id: SideContentType.dataVisualiser
};

const inspectorTab: SideContentTab = {
  label: 'Inspector',
  iconName: IconNames.SEARCH,
  body: ,
  id: SideContentType.inspector
};

const envVisualizerTab: SideContentTab = {
  label: 'Env Visualizer',
  iconName: IconNames.GLOBE,
  body: ,
  id: SideContentType.envVisualiser
github apache / druid / web-console / src / views / query-view / query-output / query-output.tsx View on Github external
function getCellMenu(header: string, value: any) {
    const { parsedQuery, onQueryChange, runeMode } = props;

    const showFullValueMenuItem =
      typeof value === 'string' ? (
        <menuitem> {
            setShowValue(value);
          }}
        /&gt;
      ) : (
        undefined
      );

    if (parsedQuery) {
      return (
        <menu>
          <menuitem> {</menuitem></menu></menuitem>