Skip to content

Instantly share code, notes, and snippets.

@colebemis
Last active May 4, 2021 21:04
Show Gist options
  • Save colebemis/57bccd18f564c8ebac1807b3f09c2c73 to your computer and use it in GitHub Desktop.
Save colebemis/57bccd18f564c8ebac1807b3f09c2c73 to your computer and use it in GitHub Desktop.
Replace octoface with spinner

Before

<div class="SelectMenu-modal">
  <include-fragment class="SelectMenu-loading">
    <%= octicon "octoface", class: "anim-pulse", width: 32 %>
  </include-fragment>
</div>

After

<div class="SelectMenu-modal">
  <include-fragment class="SelectMenu-loading">
    <%= render(Primer::SpinnerComponent.new) %>
  </include-fragment>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment