@ltht-react/icon
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.3.3](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/icon@1.3.2...@ltht-react/icon@1.3.3) (2021-06-03) | ||
**Note:** Version bump only for package @ltht-react/icon | ||
## [1.3.1](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/icon@1.3.0...@ltht-react/icon@1.3.1) (2021-04-23) | ||
@@ -8,0 +16,0 @@ |
@@ -6,3 +6,4 @@ import { FC } from 'react'; | ||
size: IconSizes; | ||
animate?: boolean; | ||
} | ||
export default SpinnerIcon; |
@@ -17,4 +17,4 @@ "use strict"; | ||
var SpinnerIcon = function (_a) { | ||
var size = _a.size; | ||
return (jsx_runtime_1.jsx(StyledFontAwesomeIcon, { className: "fa-spin icon__spinner", icon: free_solid_svg_icons_1.faSync, size: styles_1.calculateIconSize(size) }, void 0)); | ||
var size = _a.size, _b = _a.animate, animate = _b === void 0 ? true : _b; | ||
return (jsx_runtime_1.jsx(StyledFontAwesomeIcon, { className: "icon__spinner" + (animate && ' fa-spin'), icon: free_solid_svg_icons_1.faSync, size: styles_1.calculateIconSize(size) }, void 0)); | ||
}; | ||
@@ -21,0 +21,0 @@ exports.default = SpinnerIcon; |
{ | ||
"name": "@ltht-react/icon", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "ltht-react styled Icon component.", | ||
@@ -38,3 +38,3 @@ "author": "LTHT", | ||
}, | ||
"gitHead": "64f62ac2cb056d5e0a76766649383231a682a85b" | ||
"gitHead": "443df7480a507c816a3d3911462515ba9a6b1547" | ||
} |
Sorry, the diff of this file is not supported yet
48665
515