Socket
Socket
Sign inDemoInstall

react-fontawesome

Package Overview
Dependencies
1
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-fontawesome


Version published
Weekly downloads
36K
decreased by-1.08%
Maintainers
1
Install size
1.37 MB
Created
Weekly downloads
 

Changelog

Source

v0.2.1

  • Properly assign props to component.

Readme

Source

react-fontawesome

A React component for the font-awesome icon library.

Usage

var React = require('react');
var FontAwesome = require('react-fontawesome');

var MyComponent = React.createClass({
  render: function () {
    return (
      <FontAwesome
        name="rocket"
        spin
        size="lg"
        className="super-crazy-colors"
        style={{ textShadow: '0 1px 0 rgba(0, 0, 0, 0.1)' }}
      />
    );
  }
});

Contributing

Pull requests welcome!

Please use the .editorconfig, .jsfmtrc and .jshintrc configurations in your editor to ensure proper formatting.

Run the test suite with npm test, make sure tests are passing and that you write tests for new features.

Credits

Created by Dana Woodman of BIG. Inspired by react-fa.

License

Licensed under the generous MIT license.

Keywords

FAQs

Last updated on 21 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc