mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-23 15:49:24 +01:00
[lucide-angular] Export aliases + fix global configuration issues (#1166)
* [lucide-angular] Exports injection token and provider * [lucide-angular] Export aliases + fix global config issues * Add aliases of aliases :) * Update public-api.ts --------- Co-authored-by: Karsa <karsa@karsa.org>
This commit is contained in:
@@ -66,11 +66,11 @@ export class LucideAngularComponent implements OnChanges {
|
||||
|
||||
ngOnChanges(changes: LucideAngularComponentChanges): void {
|
||||
this.color = this.color ?? this.iconConfig.color;
|
||||
this.size = this.parseNumber(this.size ?? this.defaultSize);
|
||||
this.size = this.parseNumber(this.size ?? this.iconConfig.size);
|
||||
this.strokeWidth = this.parseNumber(
|
||||
this.strokeWidth ?? this.iconConfig.strokeWidth
|
||||
);
|
||||
this.absoluteStrokeWidth = this.absoluteStrokeWidth ?? false;
|
||||
this.absoluteStrokeWidth = this.absoluteStrokeWidth ?? this.iconConfig.absoluteStrokeWidth;
|
||||
if (changes.name || changes.img) {
|
||||
const name = changes.img?.currentValue ?? changes.name?.currentValue;
|
||||
if (typeof name === 'string') {
|
||||
|
||||
Reference in New Issue
Block a user