UNPKG

2.27 kBTypeScriptView Raw
1import { IconDefinition, IconProp } from '@fortawesome/fontawesome-svg-core';
2import { FaIconComponent } from './icon.component';
3import * as i0 from "@angular/core";
4export declare class FaDuotoneIconComponent extends FaIconComponent {
5 /**
6 * Swap the default opacity of each duotone icon’s layers. This will make an
7 * icon’s primary layer have the default opacity of 40% rather than its
8 * secondary layer.
9 *
10 * @default false
11 */
12 swapOpacity?: 'true' | 'false' | boolean;
13 /**
14 * Customize the opacity of the primary icon layer.
15 * Valid values are in range [0, 1.0].
16 *
17 * @default 1.0
18 */
19 primaryOpacity?: string | number;
20 /**
21 * Customize the opacity of the secondary icon layer.
22 * Valid values are in range [0, 1.0].
23 *
24 * @default 0.4
25 */
26 secondaryOpacity?: string | number;
27 /**
28 * Customize the color of the primary icon layer.
29 * Accepts any valid CSS color value.
30 *
31 * @default CSS inherited color
32 */
33 primaryColor?: string;
34 /**
35 * Customize the color of the secondary icon layer.
36 * Accepts any valid CSS color value.
37 *
38 * @default CSS inherited color
39 */
40 secondaryColor?: string;
41 protected findIconDefinition(i: IconProp | IconDefinition): IconDefinition | null;
42 protected buildParams(): {
43 title: string;
44 transform: import("@fortawesome/fontawesome-svg-core").Transform;
45 classes: string[];
46 mask: IconDefinition;
47 styles: import("@fortawesome/fontawesome-svg-core").Styles;
48 symbol: import("@fortawesome/fontawesome-svg-core").FaSymbol;
49 attributes: {
50 role: string;
51 };
52 };
53 static ɵfac: i0.ɵɵFactoryDeclaration<FaDuotoneIconComponent, never>;
54 static ɵcmp: i0.ɵɵComponentDeclaration<FaDuotoneIconComponent, "fa-duotone-icon", never, { "swapOpacity": { "alias": "swapOpacity"; "required": false; }; "primaryOpacity": { "alias": "primaryOpacity"; "required": false; }; "secondaryOpacity": { "alias": "secondaryOpacity"; "required": false; }; "primaryColor": { "alias": "primaryColor"; "required": false; }; "secondaryColor": { "alias": "secondaryColor"; "required": false; }; }, {}, never, never, false, never>;
55}