Skip to content

Commit 71881e6

Browse files
committed
align prefix
1 parent f05946d commit 71881e6

File tree

1 file changed

+5
-5
lines changed
  • 16/umbraco-cms/customizing/extending-overview/extension-types

1 file changed

+5
-5
lines changed

16/umbraco-cms/customizing/extending-overview/extension-types/icons.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Icons must be registered in a manifest using the Extension API. The manifest can
1919
"extensions": [
2020
{
2121
"type": "icons",
22-
"alias": "MyPackage.Icons.Unicorn",
23-
"name": "MyPackage Unicorn Icons",
22+
"alias": "My.Icons.Unicorn",
23+
"name": "My Unicorn Icons",
2424
"js": "/App_Plugins/MyPackage/Icons/icons.js"
2525
}
2626
]
@@ -34,11 +34,11 @@ The file set in the `js` field contains the details of your icons. These definit
3434
```javascript
3535
export default [
3636
{
37-
name: "myPackage-unicorn",
37+
name: "my-unicorn",
3838
path: () => import("./icon-unicorn.js"),
3939
},
4040
{
41-
name: "myPackage-giraffe",
41+
name: "my-giraffe",
4242
path: () => import("./icon-giraffe.js"),
4343
}
4444
]
@@ -63,6 +63,6 @@ The following example demonstrates how to create a button using the registered i
6363

6464
```html
6565
<uui-button compact label="Make the unicorn dance">
66-
<umb-icon name="myPackage-unicorn"></umb-icon>
66+
<umb-icon name="my-unicorn"></umb-icon>
6767
</uui-button>
6868
```

0 commit comments

Comments
 (0)