How to use the font-awesome/scss/font-awesome.scss.fa function in font-awesome

To help you get started, we’ve selected a few font-awesome 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 skimur / skimur / src / client / web / components / ExternalLoginButton.js View on Github external
export default (props) => {
  return (
    <button>
      <span>
      {props.text}
    </span></button>
  );
}
github pauldotknopf / react-aspnet-boilerplate / src / ReactBoilerplate / Scripts / components / Spinner.js View on Github external
import React from 'react';

const fontAwesome = require('font-awesome/scss/font-awesome.scss');

const spinnerClass = fontAwesome.fa + ' ' + fontAwesome['fa-spinner'] + ' ' + fontAwesome['fa-spin'] + ' ' + fontAwesome['fa-5x'];

export default () =&gt;
(
  <p style="{{">
    <i>
  </i></p><i>
);
</i>

font-awesome

The iconic font and CSS framework

(OFL-1.1 AND MIT)
Latest version published 8 years ago

Package Health Score

80 / 100
Full package analysis