Skip to content

Commit

Permalink
Did npm run build/docbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamant36 committed Jun 24, 2020
1 parent df9b909 commit 1664a26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion brands/amenity/fuel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4049,4 +4049,4 @@
"name": "福懋加油站"
}
}
}
}
13 changes: 9 additions & 4 deletions docs/src.6ebfba02.js
Original file line number Diff line number Diff line change
Expand Up @@ -8168,7 +8168,7 @@ function classList(props) {
'fa-li': listItem,
'fa-flip-horizontal': flip === 'horizontal' || flip === 'both',
'fa-flip-vertical': flip === 'vertical' || flip === 'both'
}, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined' && size !== null), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined' && rotation !== null), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined' && pull !== null), _defineProperty(_classes, 'fa-swap-opacity', props.swapOpacity), _classes); // map over all the keys in the classes object
}, _defineProperty(_classes, "fa-".concat(size), typeof size !== 'undefined' && size !== null), _defineProperty(_classes, "fa-rotate-".concat(rotation), typeof rotation !== 'undefined' && rotation !== null && rotation !== 0), _defineProperty(_classes, "fa-pull-".concat(pull), typeof pull !== 'undefined' && pull !== null), _defineProperty(_classes, 'fa-swap-opacity', props.swapOpacity), _classes); // map over all the keys in the classes object
// return an array of the keys where the value for the key is not null

return Object.keys(classes).map(function (key) {
Expand Down Expand Up @@ -8323,7 +8323,10 @@ function objectWithKey(key, value) {
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty({}, key, value) : {};
}

function FontAwesomeIcon(props) {
function FontAwesomeIcon(_ref) {
var forwardedRef = _ref.forwardedRef,
props = _objectWithoutProperties(_ref, ["forwardedRef"]);

var iconArgs = props.icon,
maskArgs = props.mask,
symbol = props.symbol,
Expand All @@ -8344,7 +8347,9 @@ function FontAwesomeIcon(props) {
}

var abstract = renderedIcon.abstract;
var extraProps = {};
var extraProps = {
ref: forwardedRef
};
Object.keys(props).forEach(function (key) {
// eslint-disable-next-line no-prototype-builtins
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
Expand All @@ -8366,7 +8371,7 @@ FontAwesomeIcon.propTypes = {
listItem: _propTypes.default.bool,
pull: _propTypes.default.oneOf(['right', 'left']),
pulse: _propTypes.default.bool,
rotation: _propTypes.default.oneOf([90, 180, 270]),
rotation: _propTypes.default.oneOf([0, 90, 180, 270]),
size: _propTypes.default.oneOf(['lg', 'xs', 'sm', '1x', '2x', '3x', '4x', '5x', '6x', '7x', '8x', '9x', '10x']),
spin: _propTypes.default.bool,
symbol: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
Expand Down

0 comments on commit 1664a26

Please sign in to comment.