docs(core): fix typo in component overview (#40269)
There is a sentence that mentions `stylesUrls` but should be changed to `styleUrls`. PR Close #40269
This commit is contained in:
parent
c1d7805acc
commit
8cdfd7706d
|
@ -156,7 +156,7 @@ An Angular component requires a template defined using `template` or `templateUr
|
||||||
|
|
||||||
You can declare component styles uses for its template in one of two ways: by referencing an external file, or directly within the component.
|
You can declare component styles uses for its template in one of two ways: by referencing an external file, or directly within the component.
|
||||||
|
|
||||||
To declare the styles for a component in a separate file, add a `stylesUrls` property to the `@Component` decorator.
|
To declare the styles for a component in a separate file, add a `styleUrls` property to the `@Component` decorator.
|
||||||
|
|
||||||
<code-example
|
<code-example
|
||||||
path="component-overview/src/app/component-overview/component-overview.component.ts"
|
path="component-overview/src/app/component-overview/component-overview.component.ts"
|
||||||
|
|
Loading…
Reference in New Issue