@tradeshift/elements.icon
Advanced tools
Comparing version 0.40.0 to 0.40.1
{ | ||
"name": "@tradeshift/elements.icon", | ||
"version": "0.40.0", | ||
"version": "0.40.1", | ||
"repository": { | ||
@@ -22,6 +22,6 @@ "type": "git", | ||
"dependencies": { | ||
"@tradeshift/elements": "^0.40.0" | ||
"@tradeshift/elements": "^0.40.1" | ||
}, | ||
"src": "src/icon.js", | ||
"gitHead": "95eb701d1139386b893ad0ed34acb72284339732" | ||
"gitHead": "883a0bbd69d7e4e1948084cd9300c4b81e40bacd" | ||
} |
export interface TSIconHTMLAttributes { | ||
/** css class name. Use it instead of "className" */ | ||
class?: string; | ||
/** Icon name, ex: 'arrow-up' or inline svg string */ | ||
@@ -15,6 +17,6 @@ icon?: string; | ||
/** Add circular background for icon */ | ||
circular?: boolean; | ||
circular?: boolean | 'true' | 'false'; | ||
/** 90, 180, 270 */ | ||
rotate?: number; | ||
rotate?: string; | ||
@@ -21,0 +23,0 @@ /** 'h', 'horizontal', 'v', 'vertical' */ |
133158
377
Updated@tradeshift/elements@^0.40.1