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