UNPKG

1.01 kBTypeScriptView Raw
1import { IconDefinition, IconPrefix } from '@fortawesome/fontawesome-common-types';
2import * as i0 from "@angular/core";
3export declare class FaConfig {
4 /**
5 * Default prefix to use, when one is not provided with the icon name.
6 *
7 * @default 'fas'
8 */
9 defaultPrefix: IconPrefix;
10 /**
11 * Provides a fallback icon to use whilst main icon is being loaded asynchronously.
12 * When value is null, then fa-icon component will throw an error if icon input is missing.
13 * When value is not null, then the provided icon will be used as a fallback icon if icon input is missing.
14 *
15 * @default null
16 */
17 fallbackIcon: IconDefinition;
18 /**
19 * Set icons to the same fixed width.
20 *
21 * @see {@link: https://fontawesome.com/how-to-use/on-the-web/styling/fixed-width-icons}
22 * @default false
23 */
24 fixedWidth?: boolean;
25 static ɵfac: i0.ɵɵFactoryDeclaration<FaConfig, never>;
26 static ɵprov: i0.ɵɵInjectableDeclaration<FaConfig>;
27}