Skip to content

Commit 6443956

Browse files
authored
Merge branch 'main' into fix/dev-server/handle-aliases
2 parents 2fb444f + c98202d commit 6443956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

elements/pf-icon/docs/pf-icon.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ PfIcon.addIconSet('local', (set, icon) =>
7878
### Updating an Existing Icon Set
7979

8080
To updating an existing icon set, you use the same `addIconSet` function. By
81-
defaulting back to then existing `getIconURL` method, you you can add a new
81+
defaulting back to then existing `getIconUrl` method, you you can add a new
8282
icon to an existing set:
8383

8484
```js
@@ -105,7 +105,7 @@ like to override the default icon sets across the entire page, you can use
105105
```js
106106
import { PfIcon } from '@patternfly/pf-icon';
107107

108-
PfIcon.getIconURL = (set, icon) =>
108+
PfIcon.getIconUrl = (set, icon) =>
109109
new URL(`/icons/js/${set}/${icon}.js`, 'https://static.redhat.com');
110110
```
111111

0 commit comments

Comments
 (0)