Skip to content

Mat-icon Doc Should Add HttpClient Dependency Notice #17870

@GumplinGo

Description

@GumplinGo

Mat-icon Doc Should Add HttpClient Dependency Notice

There's a Dependency Missing Error when I tried to use Custom SVG icon in the mat-icon component.

image

It's really not a big deal that, given the fact that I have played around with Angular for a while now, but I don't think this is beginner friendly, and honestly, it's quite confusing.

So, a further explanation or warning or simply a notice to user that this component have other dependencies, the HttpClientModule, would be brilliant, I think. such as "Before using your custom SVG icons, please make sure that you have include a HttpClientModule in your pertinent module"

Affected documentation page: Icon Overview

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsdocsThis issue is related to documentationhelp wantedLabel noting an issue which the team is looking for contribution from the community to fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions