UNPKG

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