@fortawesome/fontawesome-svg-core
Advanced tools
Comparing version 1.2.26-1 to 1.2.26-2
@@ -16,3 +16,4 @@ import {IconDefinition, IconLookup, IconName, IconPrefix, IconPathData, IconPack } from '@fortawesome/fontawesome-common-types'; | ||
addLayerCallback: (layerToAdd: IconOrText | IconOrText[]) => void | ||
) => void | ||
) => void, | ||
params?: LayerParams | ||
): Layer; | ||
@@ -96,2 +97,5 @@ export function icon(icon: IconName | IconLookup, params?: IconParams): Icon; | ||
} | ||
export interface LayerParams { | ||
classes?: string | string[]; | ||
} | ||
export interface TextParams extends Params { | ||
@@ -98,0 +102,0 @@ transform?: Transform; |
@@ -50,5 +50,5 @@ { | ||
"dependencies": { | ||
"@fortawesome/fontawesome-common-types": "^0.2.26-1" | ||
"@fortawesome/fontawesome-common-types": "^0.2.26-2" | ||
}, | ||
"version": "1.2.26-1", | ||
"version": "1.2.26-2", | ||
"name": "@fortawesome/fontawesome-svg-core", | ||
@@ -55,0 +55,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
427645
8
4718