@fortawesome/react-fontawesome
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -371,3 +371,3 @@ import { parse, icon } from '@fortawesome/fontawesome-svg-core'; | ||
var iconLookup = normalizeIconArgs(iconArgs); | ||
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray(className.split(' ')))); | ||
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray((className || '').split(' ')))); | ||
var transform = objectWithKey('transform', typeof allProps.transform === 'string' ? parse.transform(allProps.transform) : allProps.transform); | ||
@@ -374,0 +374,0 @@ var mask = objectWithKey('mask', normalizeIconArgs(maskArgs)); |
@@ -378,3 +378,3 @@ (function (global, factory) { | ||
var iconLookup = normalizeIconArgs(iconArgs); | ||
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray(className.split(' ')))); | ||
var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(allProps)), _toConsumableArray((className || '').split(' ')))); | ||
var transform = objectWithKey('transform', typeof allProps.transform === 'string' ? fontawesomeSvgCore.parse.transform(allProps.transform) : allProps.transform); | ||
@@ -381,0 +381,0 @@ var mask = objectWithKey('mask', normalizeIconArgs(maskArgs)); |
{ | ||
"name": "@fortawesome/react-fontawesome", | ||
"description": "Official React component for Font Awesome", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"main": "index.js", | ||
@@ -31,3 +31,4 @@ "module": "index.es.js", | ||
"Calum Smith <github.com/cpmsmith>", | ||
"squiaios <github.com/squiaios>" | ||
"squiaios <github.com/squiaios>", | ||
"WyvernDrexx <github.com/WyvernDrexx>" | ||
], | ||
@@ -34,0 +35,0 @@ "license": "MIT", |
@@ -67,2 +67,3 @@ <a href="https://fontawesome.com"> | ||
| squiaios | [@squiaios](https://github.com/squiaios) | | ||
| WyvernDrexx | [@WyvernDrexx](https://github.com/WyvernDrexx) | | ||
| Font Awesome Team | [@FortAwesome](https://github.com/orgs/FortAwesome/people)| | ||
@@ -69,0 +70,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37809
75