Skip to content

Commit 216a93d

Browse files
committed
Simplify example
Simplified the example to show only the usage of the registered icon with the `umb-icon` element, removing the button wrapper for clarity.
1 parent 71881e6 commit 216a93d

File tree

1 file changed

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

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ export default `<svg ...></svg>`;
5959

6060
The `umb-icon` element can automatically consume any registered icon.
6161

62-
The following example demonstrates how to create a button using the registered icon.
63-
6462
```html
65-
<uui-button compact label="Make the unicorn dance">
66-
<umb-icon name="my-unicorn"></umb-icon>
67-
</uui-button>
63+
<umb-icon name="my-unicorn"></umb-icon>
6864
```

0 commit comments

Comments
 (0)