How to use the octicons.sync function in octicons

To help you get started, we’ve selected a few octicons 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 FredrikNoren / ungit / components / refreshbutton / refreshbutton.js View on Github external
constructor(isLarge) {
    this.isLarge = isLarge;
    this.refreshIcon = octicons.sync.toSVG({ 'height': isLarge ? 26 : 18 });
  }